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

Represents a context that holds information about the item picker that is displayed in the chat.

Definition

Constructors

Initializes a new instance of the ItemPickerContext class.

C#
public ItemPickerContext()

Properties

Gets or sets the collection of items displayed by the picker.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the selected item.

C#
public object SelectedItem { get; set; }

Gets or sets the collection of selected items.

C#
public IEnumerable SelectedItems { get; set; }

SelectionMode

SelectionMode

Gets or sets the selection mode of the picker.

C#
public SelectionMode SelectionMode { get; set; }

Methods

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

C#
public override bool CanExecuteOk()
Returns:

bool

True if the button should be enabled, false otherwise.

Overrides: PickerContext.CanExecuteOk()