ItemPickerContext
Class
Represents a context that holds information about the item picker that is displayed in the chat.
Definition
Namespace:Telerik.Maui.Controls.Chat
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class ItemPickerContext : PickerContext, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBasePickerContextItemPickerContext
Implements:
Inherited Members
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()
True if the button should be enabled, false otherwise.
Overrides: