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