skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadSpinner

Represents a spinner control that allows users to select an item from a list by scrolling through the available options.

Inheritance
System.Object
RadContentView
RadBorder
RadSpinner
Inherited Members
RadBorder.BorderColorProperty
RadBorder.CornerRadiusProperty
RadBorder.BorderThicknessProperty
RadBorder.BorderBrushProperty
RadBorder.ChangeVisualState()
RadBorder.BorderColor
RadBorder.CornerRadius
RadBorder.BorderThickness
RadBorder.BorderBrush
RadBorder.IRadBorder.BorderBrush
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnBindingContextChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public class RadSpinner : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Constructors

RadSpinner()

Initializes a new instance of the RadSpinner class.

Declaration
public 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

true if items should loop infinitely; otherwise, false.

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 null if no item is selected.

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
RadContentView.OnHandlerChanged()

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

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.