ClassSideDrawerCommandService
Provides command execution services for RadSideDrawer controls. This class extends CommandServiceBase<T> to handle side drawer-specific commands.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class SideDrawerCommandService : CommandServiceBase<RadSideDrawer>
Inheritance: objectCommandServiceBase<RadSideDrawer>SideDrawerCommandService
Inherited Members
Methods
CanExecuteDefaultCommand(SideDrawerCommandId, object)
Determines whether the default command associated with the specified command ID can be executed.
Declaration
public bool CanExecuteDefaultCommand(SideDrawerCommandId id, object parameter)
Parameters
id
The SideDrawerCommandId that identifies the command to check.
parameter
The parameter to pass to the command's CanExecute method.
Returns
true
if the default command can be executed; otherwise, false
.
ExecuteCommand(SideDrawerCommandId, object)
Executes the command associated with the specified command ID.
Declaration
public bool ExecuteCommand(SideDrawerCommandId id, object parameter)
Parameters
id
The SideDrawerCommandId that identifies the command to execute.
parameter
The parameter to pass to the command.
Returns
true
if the command was executed successfully; otherwise, false
.
ExecuteDefaultCommand(SideDrawerCommandId, object)
Executes the default command associated with the specified command ID.
Declaration
public bool ExecuteDefaultCommand(SideDrawerCommandId id, object parameter)
Parameters
id
The SideDrawerCommandId that identifies the default command to execute.
parameter
The parameter to pass to the command.
Returns
true
if the default command was executed successfully; otherwise, false
.