Interface IRadSegmentedControlHandler
Handles the platform representation the IRadSegmentedControl virtual view.
Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll
Syntax
public interface IRadSegmentedControlHandler : IViewHandler, IElementHandler
Properties
ImageLoader
Gets the IRadImageSourceLoader responsible for loading the images.
Declaration
IRadImageSourceLoader ImageLoader { get; }
Property Value
IRadImageSourceLoader
|
PlatformView
Gets the corresponding platform view of the current IRadSegmentedControl virtual view.
Declaration
RadSegmentedView PlatformView { get; }
Property Value
Com.Telerik.Widget.Segmented.RadSegmentedView
|
Methods
IsSegmentEnabled(Int32)
Determines if the specified segment is enabled.
Declaration
bool IsSegmentEnabled(int index)
Parameters
System.Int32
index
The index of the segment. |
Returns
System.Boolean
The state of the segment: True - enabled, False - disabled. |
OnItemsSourceChanged()
Called when the collection of items in the segmented control has changed.
Declaration
void OnItemsSourceChanged()
SetSegmentEnabled(Int32, Boolean)
Sets the enabled state of the specified segment.
Declaration
void SetSegmentEnabled(int index, bool isEnabled)
Parameters
System.Int32
index
The index of the segment to enable or disable. |
System.Boolean
isEnabled
The new state of the segment: True - enabled, False - disabled. |