Class
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:

cs-api-definition
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

RadChatPicker()

Initializes a new instance of the RadChatPicker class.

Declaration

cs-api-definition
public RadChatPicker()

Fields

ActualCancelCommandProperty

Identifies the ActualCancelCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualCancelCommandProperty

Field Value

BindableProperty

ActualOkCommandProperty

Identifies the ActualOkCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualOkCommandProperty

Field Value

BindableProperty

CancelButtonTextColorProperty

Identifies the CancelButtonTextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty CancelButtonTextColorProperty

Field Value

BindableProperty

CancelCommandProperty

Identifies the CancelCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty CancelCommandProperty

Field Value

BindableProperty

ContextProperty

Identifies the Context property.

Declaration

cs-api-definition
public static readonly BindableProperty ContextProperty

Field Value

BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

FooterBackgroundColorProperty

Identifies the FooterBackgroundColor property.

Declaration

cs-api-definition
public static readonly BindableProperty FooterBackgroundColorProperty

Field Value

BindableProperty

HeaderBackgroundColorProperty

Identifies the HeaderBackgroundColor property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderBackgroundColorProperty

Field Value

BindableProperty

HeaderTextColorProperty

Identifies the HeaderTextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderTextColorProperty

Field Value

BindableProperty

HeaderTextProperty

Identifies the HeaderText property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderTextProperty

Field Value

BindableProperty

IsCancelButtonVisibleProperty

Identifies the IsCancelButtonVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsCancelButtonVisibleProperty

Field Value

BindableProperty

IsOkButtonVisibleProperty

Identifies the IsOkButtonVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsOkButtonVisibleProperty

Field Value

BindableProperty

OkButtonTextColorProperty

Identifies the OkButtonTextColor property.

Declaration

cs-api-definition
public static readonly BindableProperty OkButtonTextColorProperty

Field Value

BindableProperty

OkCommandProperty

Identifies the OkCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty OkCommandProperty

Field Value

BindableProperty

TemplateSelectorProperty

Identifies the TemplateSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty TemplateSelectorProperty

Field Value

BindableProperty

Properties

ActualCancelCommand

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

Declaration

cs-api-definition
public ICommand ActualCancelCommand { get; }

Property Value

ICommand

ActualOkCommand

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

Declaration

cs-api-definition
public ICommand ActualOkCommand { get; }

Property Value

ICommand

CancelButtonTextColor

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

Declaration

cs-api-definition
public Color CancelButtonTextColor { get; set; }

Property Value

Color

CancelCommand

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

Declaration

cs-api-definition
public ICommand CancelCommand { get; set; }

Property Value

ICommand

Context

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

Declaration

cs-api-definition
public PickerContext Context { get; set; }

Property Value

PickerContext

ControlTemplate

Gets or sets the control template of this view.

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

FooterBackgroundColor

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

Declaration

cs-api-definition
public Color FooterBackgroundColor { get; set; }

Property Value

Color

HeaderBackgroundColor

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

Declaration

cs-api-definition
public Color HeaderBackgroundColor { get; set; }

Property Value

Color

HeaderText

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

Declaration

cs-api-definition
public string HeaderText { get; set; }

Property Value

string

HeaderTextColor

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

Declaration

cs-api-definition
public Color HeaderTextColor { get; set; }

Property Value

Color

IsCancelButtonVisible

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

Declaration

cs-api-definition
public bool IsCancelButtonVisible { get; set; }

Property Value

bool

IsOkButtonVisible

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

Declaration

cs-api-definition
public bool IsOkButtonVisible { get; set; }

Property Value

bool

OkButtonTextColor

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

Declaration

cs-api-definition
public Color OkButtonTextColor { get; set; }

Property Value

Color

OkCommand

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

Declaration

cs-api-definition
public ICommand OkCommand { get; set; }

Property Value

ICommand

TemplateSelector

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

Declaration

cs-api-definition
public DataTemplateSelector TemplateSelector { get; set; }

Property Value

DataTemplateSelector

Methods

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Events

CancelClicked

Occurs when the Cancel button is clicked.

Declaration

cs-api-definition
public event EventHandler CancelClicked

Event Value

EventHandler

OkClicked

Occurs when the Ok button is clicked.

Declaration

cs-api-definition
public event EventHandler OkClicked

Event Value

EventHandler