New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a view that displays a picker which expects input from the user.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadChatPicker : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadChatPicker

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

Initializes a new instance of the RadChatPicker class.

C#
public RadChatPicker()

Fields

Identifies the ActualCancelCommand property.

C#
public static readonly BindableProperty ActualCancelCommandProperty

ActualOkCommandProperty

BindableProperty

Identifies the ActualOkCommand property.

C#
public static readonly BindableProperty ActualOkCommandProperty

Identifies the CancelButtonTextColor property.

C#
public static readonly BindableProperty CancelButtonTextColorProperty

CancelCommandProperty

BindableProperty

Identifies the CancelCommand property.

C#
public static readonly BindableProperty CancelCommandProperty

ContextProperty

BindableProperty

Identifies the Context property.

C#
public static readonly BindableProperty ContextProperty

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

Identifies the FooterBackgroundColor property.

C#
public static readonly BindableProperty FooterBackgroundColorProperty

Identifies the HeaderBackgroundColor property.

C#
public static readonly BindableProperty HeaderBackgroundColorProperty

HeaderTextColorProperty

BindableProperty

Identifies the HeaderTextColor property.

C#
public static readonly BindableProperty HeaderTextColorProperty

HeaderTextProperty

BindableProperty

Identifies the HeaderText property.

C#
public static readonly BindableProperty HeaderTextProperty

Identifies the IsCancelButtonVisible property.

C#
public static readonly BindableProperty IsCancelButtonVisibleProperty

Identifies the IsOkButtonVisible property.

C#
public static readonly BindableProperty IsOkButtonVisibleProperty

Identifies the OkButtonTextColor property.

C#
public static readonly BindableProperty OkButtonTextColorProperty

OkCommandProperty

BindableProperty

Identifies the OkCommand property.

C#
public static readonly BindableProperty OkCommandProperty

TemplateSelectorProperty

BindableProperty

Identifies the TemplateSelector property.

C#
public static readonly BindableProperty TemplateSelectorProperty

Properties

Gets the actual command that is executed when the Cancel button is pressed. This command will execute the custom CancelCommand.

C#
public ICommand ActualCancelCommand { get; }

Gets the actual command that is executed when the Ok button is pressed. This command will execute the custom OkCommand.

C#
public ICommand ActualOkCommand { get; }

Gets or sets the text color of the Cancel button of the picker.

C#
public Color CancelButtonTextColor { get; set; }

Gets or sets the user command that will be executed when the Cancel button is pressed.

C#
public ICommand CancelCommand { get; set; }

Gets or sets the picker context that carries information about the data that should be displayed in the picker.

C#
public PickerContext Context { get; set; }

ControlTemplate

ControlTemplate

Gets or sets the control template of this view.

C#
public ControlTemplate ControlTemplate { get; set; }

Gets or sets the background of the picker's footer.

C#
public Color FooterBackgroundColor { get; set; }

Gets or sets the background of the picker's header.

C#
public Color HeaderBackgroundColor { get; set; }

Gets or sets the text displayed as the header of the picker.

C#
public string HeaderText { get; set; }

Gets or sets the color of the picker's header text.

C#
public Color HeaderTextColor { get; set; }

Gets or sets a value that determines whether the Cancel button is visible.

C#
public bool IsCancelButtonVisible { get; set; }

Gets or sets a value that determines whether the Ok button is visible.

C#
public bool IsOkButtonVisible { get; set; }

Gets or sets the text color of the Ok button of the picker.

C#
public Color OkButtonTextColor { get; set; }

Gets or sets the user command that will be executed when the Ok button is pressed.

C#
public ICommand OkCommand { get; set; }

TemplateSelector

DataTemplateSelector

Gets or sets the template selector that determines the DataTemplate that should be used for the corresponding Context.

C#
public DataTemplateSelector TemplateSelector { get; set; }

Methods

C#
protected override void OnApplyTemplate()

Events

Occurs when the Cancel button is clicked.

C#
public event EventHandler CancelClicked

Occurs when the Ok button is clicked.

C#
public event EventHandler OkClicked