SegmentedControlItemBuilder

Methods

Icon(System.String)

Parameters

icon - System.String

Enabled(System.Boolean)

Configures whether an individual button can be enabled or disabled.

Parameters

value - System.Boolean

The value for Enabled

RETURNS

Returns the current SegmentedControlItemBuilder instance.

EndIcon(System.String)

Defines a Kendo UI font or SVG icon that is rendered after the item text.

Parameters

value - System.String

The value for EndIcon

RETURNS

Returns the current SegmentedControlItemBuilder instance.

Icon(System.Action)

Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

Parameters

configurator - System.Action<SegmentedControlItemIconSettingsBuilder>

The configurator for the icon setting.

RETURNS

Returns the current instance of SegmentedControlItemBuilder .

IconClass(System.String)

If set, value will be appended to the icon's element class attribute.

Parameters

value - System.String

The value for IconClass

RETURNS

Returns the current SegmentedControlItemBuilder instance.

Text(System.String)

If set, the text will be rendered as the button label.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current SegmentedControlItemBuilder instance.

Value(System.String)

Specifies the value that will act as an identifier for the button. Will be supplemented as a data-value attribute.

Parameters

value - System.String

The value for Value

RETURNS

Returns the current SegmentedControlItemBuilder instance.