ClassRadSegmentedControl
Displays a list of horizontally aligned, mutually exclusive options, which can be selected by the user. Each option is a button that can display text or an image.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadSegmentedControl : RadView, IRadSegmentedControl, IView, IElement, ITransform
Inheritance: objectRadViewRadSegmentedControl
Implements:
Inherited Members
Constructors
RadSegmentedControl()
Initializes a new instance of the RadSegmentedControl class.
Declaration
public RadSegmentedControl()
Fields
DisabledSegmentTextColorProperty
Identifies the DisabledSegmentTextColor property.
Declaration
public static readonly BindableProperty DisabledSegmentTextColorProperty
Field Value
BindableProperty
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
BindableProperty
SegmentBackgroundColorProperty
Identifies the SegmentBackgroundColor property.
Declaration
public static readonly BindableProperty SegmentBackgroundColorProperty
Field Value
BindableProperty
SegmentTextColorProperty
Identifies the SegmentTextColor property.
Declaration
public static readonly BindableProperty SegmentTextColorProperty
Field Value
BindableProperty
SelectedIndexProperty
Identifies the SelectedIndex property.
Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
BindableProperty
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
BindableProperty
SelectedSegmentBackgroundColorProperty
Identifies the SelectedSegmentBackgroundColor property.
Declaration
public static readonly BindableProperty SelectedSegmentBackgroundColorProperty
Field Value
BindableProperty
SelectedSegmentTextColorProperty
Identifies the SelectedSegmentTextColor property.
Declaration
public static readonly BindableProperty SelectedSegmentTextColorProperty
Field Value
BindableProperty
Properties
DisabledSegmentTextColor
Gets or sets the text color of the disabled segment.
Declaration
public Color DisabledSegmentTextColor { get; set; }
Property Value
Color
Implements
ItemsSource
Gets or sets the collection of items of the control.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Implements
SegmentBackgroundColor
Gets or sets the background color of the segment.
Declaration
public Color SegmentBackgroundColor { get; set; }
Property Value
Color
Implements
SegmentTextColor
Gets or sets the text color of the segment.
Declaration
public Color SegmentTextColor { get; set; }
Property Value
Color
Implements
SelectedIndex
Gets or sets the index of the item to be selected.
SelectedItem
Gets or sets the currently selected item.
SelectedSegmentBackgroundColor
Gets or sets the background color of the selected segment.
Declaration
public Color SelectedSegmentBackgroundColor { get; set; }
Property Value
Color
Implements
SelectedSegmentTextColor
Gets or sets the text color of the selected segment.
Declaration
public Color SelectedSegmentTextColor { get; set; }
Property Value
Color
Implements
Methods
IsSegmentEnabled(int)
Determines if the specified segment is enabled.
OnHandlerChanged()
Declaration
protected override void OnHandlerChanged()
Overrides
SetSegmentEnabled(int, bool)
Sets the enabled state of the specified segment.
Events
SelectionChanged
Raised when the current selection has changed.
Declaration
public event EventHandler<ValueChangedEventArgs<int>> SelectionChanged
Event Value