Request

Response

    LabeledOption class

    Represents a selectable option within a dropdown/selector component in custom forms. Each option contains an identifier, display label, and optional tooltip text to provide users with clear information about the available choices in the selector.

    public class LabeledOption
    

    Public Members

    namedescription
    LabeledOption(…) Initializes a new instance of the LabeledOption class.
    Group { get; set; } Gets or sets the optional group name for this option. When specified, options with the same group name will be visually grouped together in the dropdown list under a group header. This enables better organization of large option lists by categorizing related items. If not specified (null), the option will be rendered without grouping.
    Id { get; } Gets the unique identifier for this option. This ID is used to track which options are selected and to reference the option programmatically. The ID should be unique within the context of the selector's options list.
    Label { get; } Gets the display text shown to users in the dropdown list. This is the human-readable text that appears in the selector component and should clearly describe the option to help users make their selection.
    Tooltip { get; set; } Gets or sets the tooltip text that appears when hovering over this option in the dropdown list. This provides additional context about the option.

    See Also