string Label { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Label property of the ToggleGroupAttribute class is a string that specifies the label for the toggle group. This label is used to identify the group in the user interface, allowing users to understand what the toggle group represents.

Usage

To use the Label property, you need to set it when applying the ToggleGroupAttribute to a class or property. This will define the label that appears in the UI for the toggle group.

Example

[ToggleGroup("MyToggleGroup", Label = "Enable Features")]
public bool MyFeatureToggle;