ClassCommandServiceBase<T>
Class
Provides a base implementation for command services that manage user and default commands.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Type Parameters:
T
The type of control this command service is associated with.
Syntax:
cs-api-definition
public abstract class CommandServiceBase<T> where T : class
Inheritance: objectCommandServiceBase<T>
Derived Classes:
Fields
defaultCommands
The dictionary of default commands indexed by command ID.
Declaration
cs-api-definition
protected readonly Dictionary<int, ICommand> defaultCommands
Field Value
owner
The owner control instance.
Declaration
cs-api-definition
protected readonly T owner
Field Value
T
userCommands
The collection of user-defined commands.
Declaration
cs-api-definition
protected readonly CommandCollection<T> userCommands
Field Value
Properties
UserCommands
Gets the collection of user-defined commands.
Declaration
cs-api-definition
public ObservableCollection<ControlCommandBase<T>> UserCommands { get; }
Property Value
ObservableCollection<ControlCommandBase<T>>
The observable collection of user commands.