Class
RadSegmentedControlExtensions

Contains platform extension methods for the segmented control.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
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

cs-api-definition
public static void UpdateDisabledSegmentTextColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

The IRadSegmentedControl virtual view.

UpdateItemsSource(RadSegmentedView, IEnumerable<Drawable>)

Updates the images of the current RadSegmentedView platform view.

Declaration

cs-api-definition
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

cs-api-definition
public static void UpdateItemsSource(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

The IRadSegmentedControl virtual view.

UpdateItemsSource(RadSegmentedView, IRadSegmentedControl, IRadImageSourceLoader)

Updates the items of the current RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.

Declaration

cs-api-definition
public static void UpdateItemsSource(this RadSegmentedView platformView, IRadSegmentedControl virtualView, IRadImageSourceLoader imageLoader)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

The IRadSegmentedControl virtual view.

imageLoader

IRadImageSourceLoader

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

cs-api-definition
public static void UpdateSegmentBackgroundColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

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

cs-api-definition
public static void UpdateSegmentTextColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

The IRadSegmentedControl virtual view.

UpdateSelectedIndex(RadSegmentedView, IRadSegmentedControl)

Updates the selected index of the current RadSegmentedView platform view from the specified IRadSegmentedControl virtual view.

Declaration

cs-api-definition
public static void UpdateSelectedIndex(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

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

cs-api-definition
public static void UpdateSelectedSegmentBackgroundColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

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

cs-api-definition
public static void UpdateSelectedSegmentTextColor(this RadSegmentedView platformView, IRadSegmentedControl virtualView)

Parameters

platformView

RadSegmentedView

The RadSegmentedView platform view.

virtualView

IRadSegmentedControl

The IRadSegmentedControl virtual view.