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

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:

C#
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

C#
public PickerContext()

Properties

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.

C#
public object Data { get; set; }

Methods

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

C#
public virtual bool CanExecuteOk()
Returns:

bool

True if the button should be enabled, false otherwise.

Raises the PropertyChanged event.

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

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

Overrides: NotifyPropertyChangedBase.OnPropertyChanged(string)