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