Class CommandService
Encapsulates the command-related routine within a Rad
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView.Commands
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class CommandService : CommandServiceBase<RadListView>
Methods
CanExecuteCommand(CommandId, Object)
Determines whether the command, associated with the specified Id can be executed given the parameter provided.
Declaration
public bool CanExecuteCommand(CommandId id, object parameter)
Parameters
Command The Command |
System. The parameter that is passed to the CanExecute and Execute methods of the command. |
Returns
System. True if the command can be executed, false otherwise. |
ExecuteCommand(CommandId, Object)
Attempts to find the command, associated with the specified Id and to perform its Execute routine, using the provided parameter.
Declaration
public bool ExecuteCommand(CommandId id, object parameter)
Parameters
Command The Command |
System. The parameter that is passed to the CanExecute and Execute methods of the command. |
Returns
System. True if the command is successfully executed, false otherwise. |