Class
PickerContext

Represents a context that holding information about the particulat picker that is displayed in the chat.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class PickerContext : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBasePickerContext

Derived Classes: CardPickerContextDatePickerContextItemPickerContextTimePickerContext

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

PickerContext()

Declaration

cs-api-definition
public PickerContext()

Properties

Data

Gets or sets some custom information about the particular picker context. The RadChat does not use this property anywhere, use this to carry a payload of information for your convenience.

Declaration

cs-api-definition
public object Data { get; set; }

Property Value

object

Methods

CanExecuteOk()

Determines whether the Ok button of the picker can be clicked.

Declaration

cs-api-definition
public virtual bool CanExecuteOk()

Returns

bool

True if the button should be enabled, false otherwise.

OnPropertyChanged(string)

Raises the PropertyChanged event.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that has changed. If null, the caller member name is used.

Overrides NotifyPropertyChangedBase.OnPropertyChanged(string)