Class RadSpinner
Represents a spinner control that allows users to select an item from a list by scrolling through the available options.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadSpinner : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
RadSpinner()
Fields
DisplayMemberPathProperty
Identifies the DisplayMemberPath property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DisplayStringFormatProperty
Identifies the DisplayStringFormat property.
Declaration
public static readonly BindableProperty DisplayStringFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DisplayValueConverterProperty
Identifies the DisplayValueConverter property.
Declaration
public static readonly BindableProperty DisplayValueConverterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IsLoopingProperty
Identifies the IsLooping property.
Declaration
public static readonly BindableProperty IsLoopingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemLengthProperty
Identifies the ItemLength property.
Declaration
public static readonly BindableProperty ItemLengthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemSpacingProperty
Identifies the ItemSpacing property.
Declaration
public static readonly BindableProperty ItemSpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemStyleProperty
Identifies the ItemStyle property.
Declaration
public static readonly BindableProperty ItemStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedIndexProperty
Identifies the SelectedIndex property.
Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedItemProperty
Identifies the SelectedItem property.
Declaration
public static readonly BindableProperty SelectedItemProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedItemStyleProperty
Identifies the SelectedItemStyle property.
Declaration
public static readonly BindableProperty SelectedItemStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SelectedItemTemplateProperty
Identifies the SelectedItemTemplate property.
Declaration
public static readonly BindableProperty SelectedItemTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
DisplayMemberPath
Gets or sets a path to the property used to display the items of the RadSpinner.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
System.String
A System.String that specifies the property path for displaying items. |
DisplayStringFormat
Gets or sets the string format used to display the items of the RadSpinner.
Declaration
public string DisplayStringFormat { get; set; }
Property Value
System.String
A System.String that specifies the formatting pattern for items. |
DisplayValueConverter
Gets or sets a Microsoft.Maui.Controls.IValueConverter used to display the items of the RadSpinner.
Declaration
public IValueConverter DisplayValueConverter { get; set; }
Property Value
Microsoft.Maui.Controls.IValueConverter
An Microsoft.Maui.Controls.IValueConverter instance for converting item values for display. |
IsLooping
Gets or sets a value indicating whether the items should loop infinitely while scrolling.
Declaration
public bool IsLooping { get; set; }
Property Value
System.Boolean
|
ItemLength
Gets or sets the length of the items in the RadSpinner.
Declaration
public double ItemLength { get; set; }
Property Value
System.Double
A System.Double value that specifies the length of each item. |
ItemSpacing
Gets or sets the spacing between the items in the RadSpinner.
Declaration
public double ItemSpacing { get; set; }
Property Value
System.Double
A System.Double value that specifies the spacing between items. |
ItemsSource
Gets or sets a collection used to generate the content of the RadSpinner.
Declaration
public IList ItemsSource { get; set; }
Property Value
System.Collections.IList
An System.Collections.IList collection that provides the data for the spinner items. |
ItemStyle
Gets or sets the Microsoft.Maui.Controls.Style used to display each item.
Declaration
public Style ItemStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
A Microsoft.Maui.Controls.Style object that defines the appearance of items. |
ItemTemplate
Gets or sets the Microsoft.Maui.Controls.DataTemplate used to display each item.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
A Microsoft.Maui.Controls.DataTemplate object that defines the visual structure of items. |
Orientation
Gets or sets the orientation of the RadSpinner.
Declaration
public Orientation Orientation { get; set; }
Property Value
Orientation
An Orientation value that specifies the orientation. |
SelectedIndex
Gets or sets the selected index in the RadSpinner.
Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32
The zero-based index of the selected item, or -1 if no item is selected. |
SelectedItem
Gets or sets the selected item in the RadSpinner.
Declaration
public object SelectedItem { get; set; }
Property Value
System.Object
The currently selected item, or |
SelectedItemStyle
Gets or sets the Microsoft.Maui.Controls.Style used to display the selected item.
Declaration
public Style SelectedItemStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
A Microsoft.Maui.Controls.Style object that defines the appearance of the selected item. |
SelectedItemTemplate
Gets or sets the Microsoft.Maui.Controls.DataTemplate used to display the selected item.
Declaration
public DataTemplate SelectedItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
A Microsoft.Maui.Controls.DataTemplate object that defines the visual structure of the selected item. |
Methods
ArrangeOverride(Rect)
Arranges the child elements and determines the size for the RadSpinner.
Declaration
protected override Size ArrangeOverride(Rect bounds)
Parameters
Microsoft.Maui.Graphics.Rect
bounds
The size that the parent computes for the child element. |
Returns
Microsoft.Maui.Graphics.Size
The actual size used. |
OnHandlerChanged()
Called when the handler changes.
Declaration
protected override void OnHandlerChanged()
Overrides
OnPropertyChanged(String)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
The name of the property that changed. |
Events
SelectionChanged
Occurs when the selection changes.
Declaration
public event EventHandler SelectionChanged
Event Type
System.EventHandler
|