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 RadPickerBase

A base class for all pickers.

Inheritance
System.Object
RadContentView
PickerContentView
RadPickerBase
RadListPicker
RadMultiSpinnerPickerBase
RadTemplatedPicker
Inherited Members
PickerContentView.BackgroundColorProperty
PickerContentView.BorderColorProperty
PickerContentView.BorderThicknessProperty
PickerContentView.CornerRadiusProperty
PickerContentView.BackgroundColor
PickerContentView.BorderColor
PickerContentView.BorderThickness
PickerContentView.CornerRadius
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnBindingContextChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public abstract class RadPickerBase : PickerContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Constructors

RadPickerBase()

Initializes a new instance of the RadPickerBase class.

Declaration
protected RadPickerBase()

Fields

ActualClearButtonStyleProperty

Identifies the ActualClearButtonStyle property.

Declaration
public static readonly BindableProperty ActualClearButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualDisplayLabelStyleProperty

Identifies the ActualDisplayLabelStyle property.

Declaration
public static readonly BindableProperty ActualDisplayLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualPlaceholderLabelStyleProperty

Identifies the ActualPlaceholderLabelStyle property.

Declaration
public static readonly BindableProperty ActualPlaceholderLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualToggleButtonStyleProperty

Identifies the ActualToggleButtonStyle property.

Declaration
public static readonly BindableProperty ActualToggleButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BorderBrushProperty

Identifies the BorderBrush property.

Declaration
public static readonly BindableProperty BorderBrushProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ClearButtonStyleProperty

Identifies the ClearButtonStyle property.

Declaration
public static readonly BindableProperty ClearButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayLabelStyleProperty

Identifies the DisplayLabelStyle property.

Declaration
public static readonly BindableProperty DisplayLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayStringFormatProperty

Identifies the DisplayStringFormat property.

Declaration
public static readonly BindableProperty DisplayStringFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayStringProperty

Identifies the DisplayString property.

Declaration
public static readonly BindableProperty DisplayStringProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayTemplateProperty

Identifies the DisplayTemplate property.

Declaration
public static readonly BindableProperty DisplayTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DropDownSettingsProperty

Identifies the DropDownSettings property.

Declaration
public static readonly BindableProperty DropDownSettingsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsClearButtonVisibleProperty

Identifies the IsClearButtonVisible property.

Declaration
public static readonly BindableProperty IsClearButtonVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsOpenProperty

Identifies the IsOpen property.

Declaration
public static readonly BindableProperty IsOpenProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsPlaceholderVisibleProperty

Identifies the IsPlaceholderVisible property.

Declaration
public static readonly BindableProperty IsPlaceholderVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsToggleButtonVisibleProperty

Identifies the IsToggleButtonVisible property.

Declaration
public static readonly BindableProperty IsToggleButtonVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

PickerModeProperty

Identifies the PickerMode property.

Declaration
public static readonly BindableProperty PickerModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

PlaceholderLabelStyleProperty

Identifies the PlaceholderLabelStyle property.

Declaration
public static readonly BindableProperty PlaceholderLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

PlaceholderProperty

Identifies the Placeholder property.

Declaration
public static readonly BindableProperty PlaceholderProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

PlaceholderTemplateProperty

Identifies the PlaceholderTemplate property.

Declaration
public static readonly BindableProperty PlaceholderTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

PopupSettingsProperty

Identifies the PopupSettings property.

Declaration
public static readonly BindableProperty PopupSettingsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ToggleButtonStyleProperty

Identifies the ToggleButtonStyle property.

Declaration
public static readonly BindableProperty ToggleButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ActualClearButtonStyle

Gets the result of merging the default style and the style set as ClearButtonStyle. This is the actual style that is applied to the clear button in the default Microsoft.Maui.Controls.ControlTemplate.

Declaration
public Style ActualClearButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualDisplayLabelStyle

Gets the result of merging the default style and the style set as DisplayLabelStyle. This is the actual style that is applied to the label in the default DisplayTemplate.

Declaration
public Style ActualDisplayLabelStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualPlaceholderLabelStyle

Gets the result of merging the default style and the style set as PlaceholderLabelStyle. This is the actual style that is applied to the label in the default PlaceholderTemplate.

Declaration
public Style ActualPlaceholderLabelStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualToggleButtonStyle

Gets the result of merging the default style and the style set as ToggleButtonStyle. This is the actual style that is applied to the toggle button in the default Microsoft.Maui.Controls.ControlTemplate.

Declaration
public Style ActualToggleButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

BorderBrush

Gets or sets the border Microsoft.Maui.Controls.Brush of the picker.

Declaration
public Brush BorderBrush { get; set; }
Property Value
Microsoft.Maui.Controls.Brush

ClearButtonStyle

Gets or sets the style that will be applied to the clear button. For more information see the ClearCommand.

Declaration
public Style ClearButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

ClearCommand

Gets the command which sets the selection to null.

Declaration
public ICommand ClearCommand { get; }
Property Value
System.Windows.Input.ICommand

DisplayLabelStyle

Gets or sets the style that will be applied to the label used to visualize the selection.

Declaration
public Style DisplayLabelStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

DisplayString

Gets the result of applying the DisplayStringFormat on the current selection.

Declaration
public string DisplayString { get; }
Property Value
System.String

DisplayStringFormat

Gets or sets the format string that is to be applied to the current selection.

Declaration
public string DisplayStringFormat { get; set; }
Property Value
System.String

DisplayTemplate

Gets or sets the template which will visualize the current selection.

Declaration
public ControlTemplate DisplayTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

DropDownSettings

Gets or sets the settings that should be applied when the picker is in a drop-down mode. For more information see the PickerMode property.

Declaration
public PickerDropDownSettings DropDownSettings { get; set; }
Property Value
PickerDropDownSettings

IsClearButtonVisible

Gets or sets a value indicating whether the clear button is visible.

Declaration
public bool IsClearButtonVisible { get; set; }
Property Value
System.Boolean

IsOpen

Gets a value indicating whether the selector (popup or dropdown) is toggled.

Declaration
public bool IsOpen { get; set; }
Property Value
System.Boolean

IsPlaceholderVisible

Gets a value indicating whether the placeholder is currently visible in the picker.

Declaration
public bool IsPlaceholderVisible { get; }
Property Value
System.Boolean

IsToggleButtonVisible

Gets or sets a value indicating whether the toggle button is visible.

Declaration
public bool IsToggleButtonVisible { get; set; }
Property Value
System.Boolean

PickerMode

Gets or sets the currently active mode of the picker. For more information see the PickerMode type.

Declaration
public PickerMode PickerMode { get; set; }
Property Value
PickerMode

Placeholder

Gets or sets the object to be displayed when there is no selection.

Declaration
public object Placeholder { get; set; }
Property Value
System.Object

PlaceholderLabelStyle

Gets or sets the style to be applied to the label defined in the default PlaceholderTemplate.

Declaration
public Style PlaceholderLabelStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

PlaceholderTemplate

Gets or sets the ControlTemplate which is to be displayed when no selection is available.

Declaration
public ControlTemplate PlaceholderTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

PopupSettings

Gets or sets the settings that should be applied when the picker is in a popup mode. For more information see the PickerMode property.

Declaration
public PickerPopupSettings PopupSettings { get; set; }
Property Value
PickerPopupSettings

ToggleButtonStyle

Gets or sets the style that will be applied to the toggle button. For more information see the ToggleCommand.

Declaration
public Style ToggleButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

ToggleCommand

Gets the command which visualizes and hides the selector.

Declaration
public ICommand ToggleCommand { get; }
Property Value
System.Windows.Input.ICommand

Methods

ClearSelection()

Clears the current selection in the picker, setting it to null.

Declaration
public void ClearSelection()

OnHandlerChanged()

Called when the handler for this picker changes. Initializes visual states and sets up platform-specific configurations.

Declaration
protected override void OnHandlerChanged()
Overrides
RadContentView.OnHandlerChanged()
Remarks

This method performs the following platform-specific operations:

  • On Android: Sets the platform view as focusable in touch mode.
  • On iOS/Mac Catalyst: Manages the PickerBaseFocusableView proxy connections.

OnPropertyChanged(String)

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

Events

SelectionChanged

Occurs when the selection in the picker 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.