Class RadSegmentedControlExtensions
Contains platform extension methods for the segmented control.
Inheritance
Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll
Syntax
public static class RadSegmentedControlExtensions : Object
Methods
UpdateDisabledSegmentTextColor(RadSegmentedView, IRadSegmentedControl)
Updates the disabled segment text color of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateDisabledSegmentTextColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
UpdateItemsSource(RadSegmentedView, IEnumerable<Drawable>)
Updates the images of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view.
Declaration
public static void UpdateItemsSource(this RadSegmentedView platformView, IEnumerable<Drawable> itemsSource)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
System.Collections.Generic.IEnumerable<Android.Graphics.Drawables.Drawable>
itemsSource
A collection of Android.Graphics.Drawables.Drawable platform images to load. |
UpdateItemsSource(RadSegmentedView, IRadSegmentedControl)
Updates the items of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateItemsSource(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
UpdateItemsSource(RadSegmentedView, IRadSegmentedControl, IRadImageSourceLoader)
Updates the items of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateItemsSource(this RadSegmentedView platformView, IRadSegmentedControl virtualView, IRadImageSourceLoader imageLoader)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
IRadImageSourceLoader
imageLoader
The IRadImageSourceLoader responsible for loading the images. |
UpdateSegmentBackgroundColor(RadSegmentedView, IRadSegmentedControl)
Updates the segment background color of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateSegmentBackgroundColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
UpdateSegmentTextColor(RadSegmentedView, IRadSegmentedControl)
Updates the segment text color of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateSegmentTextColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
UpdateSelectedIndex(RadSegmentedView, IRadSegmentedControl)
Updates the selected index of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateSelectedIndex(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
UpdateSelectedSegmentBackgroundColor(RadSegmentedView, IRadSegmentedControl)
Updates the selected segment background color of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateSelectedSegmentBackgroundColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |
UpdateSelectedSegmentTextColor(RadSegmentedView, IRadSegmentedControl)
Updates the selected segment text color of the current Com.Telerik.Widget.Segmented.RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.
Declaration
public static void UpdateSelectedSegmentTextColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)
Parameters
Com.Telerik.Widget.Segmented.RadSegmentedView
platformView
The Com.Telerik.Widget.Segmented.RadSegmentedView platform view. |
IRadSegmentedControl
virtualView
The IRadSegmentedControl virtual view. |