RadChatPicker
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:
public class RadChatPicker : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadChatPicker
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadChatPicker class.
public RadChatPicker()
Fields
ActualCancelCommandProperty
BindableProperty
Identifies the ActualCancelCommand property.
public static readonly BindableProperty ActualCancelCommandProperty
ActualOkCommandProperty
BindableProperty
Identifies the ActualOkCommand property.
public static readonly BindableProperty ActualOkCommandProperty
CancelButtonTextColorProperty
BindableProperty
Identifies the CancelButtonTextColor property.
public static readonly BindableProperty CancelButtonTextColorProperty
CancelCommandProperty
BindableProperty
Identifies the CancelCommand property.
public static readonly BindableProperty CancelCommandProperty
ContextProperty
BindableProperty
Identifies the Context property.
public static readonly BindableProperty ContextProperty
ControlTemplateProperty
BindableProperty
Identifies the ControlTemplate property.
public static readonly BindableProperty ControlTemplateProperty
FooterBackgroundColorProperty
BindableProperty
Identifies the FooterBackgroundColor property.
public static readonly BindableProperty FooterBackgroundColorProperty
HeaderBackgroundColorProperty
BindableProperty
Identifies the HeaderBackgroundColor property.
public static readonly BindableProperty HeaderBackgroundColorProperty
HeaderTextColorProperty
BindableProperty
Identifies the HeaderTextColor property.
public static readonly BindableProperty HeaderTextColorProperty
HeaderTextProperty
BindableProperty
Identifies the HeaderText property.
public static readonly BindableProperty HeaderTextProperty
IsCancelButtonVisibleProperty
BindableProperty
Identifies the IsCancelButtonVisible property.
public static readonly BindableProperty IsCancelButtonVisibleProperty
IsOkButtonVisibleProperty
BindableProperty
Identifies the IsOkButtonVisible property.
public static readonly BindableProperty IsOkButtonVisibleProperty
OkButtonTextColorProperty
BindableProperty
Identifies the OkButtonTextColor property.
public static readonly BindableProperty OkButtonTextColorProperty
OkCommandProperty
BindableProperty
Identifies the OkCommand property.
public static readonly BindableProperty OkCommandProperty
TemplateSelectorProperty
BindableProperty
Identifies the TemplateSelector property.
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.
public ICommand ActualCancelCommand { get; }
Gets the actual command that is executed when the Ok button is pressed. This command will execute the custom OkCommand.
public ICommand ActualOkCommand { get; }
Gets or sets the text color of the Cancel button of the picker.
public Color CancelButtonTextColor { get; set; }
Gets or sets the user command that will be executed when the Cancel button is pressed.
public ICommand CancelCommand { get; set; }
Gets or sets the picker context that carries information about the data that should be displayed in the picker.
public PickerContext Context { get; set; }
ControlTemplate
ControlTemplate
Gets or sets the control template of this view.
public ControlTemplate ControlTemplate { get; set; }
Gets or sets the background of the picker's footer.
public Color FooterBackgroundColor { get; set; }
Gets or sets the background of the picker's header.
public Color HeaderBackgroundColor { get; set; }
Gets or sets the text displayed as the header of the picker.
public string HeaderText { get; set; }
HeaderTextColor
Color
Gets or sets the color of the picker's header text.
public Color HeaderTextColor { get; set; }
Gets or sets a value that determines whether the Cancel button is visible.
public bool IsCancelButtonVisible { get; set; }
Gets or sets a value that determines whether the Ok button is visible.
public bool IsOkButtonVisible { get; set; }
OkButtonTextColor
Color
Gets or sets the text color of the Ok button of the picker.
public Color OkButtonTextColor { get; set; }
Gets or sets the user command that will be executed when the Ok button is pressed.
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.
public DataTemplateSelector TemplateSelector { get; set; }
Methods
protected override void OnApplyTemplate()
Events
Occurs when the Cancel button is clicked.
public event EventHandler CancelClicked
Occurs when the Ok button is clicked.
public event EventHandler OkClicked