Class
SideDrawerCommandService

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:

cs-api-definition
public class SideDrawerCommandService : CommandServiceBase<RadSideDrawer>

Inheritance: objectCommandServiceBase<RadSideDrawer>SideDrawerCommandService

Inherited Members CommandServiceBase<RadSideDrawer>.userCommandsCommandServiceBase<RadSideDrawer>.defaultCommandsCommandServiceBase<RadSideDrawer>.ownerCommandServiceBase<RadSideDrawer>.UserCommands

Methods

CanExecuteDefaultCommand(SideDrawerCommandId, object)

Determines whether the default command associated with the specified command ID can be executed.

Declaration

cs-api-definition
public bool CanExecuteDefaultCommand(SideDrawerCommandId id, object parameter)

Parameters

id

SideDrawerCommandId

The SideDrawerCommandId that identifies the command to check.

parameter

object

The parameter to pass to the command's CanExecute method.

Returns

bool

true if the default command can be executed; otherwise, false.

ExecuteCommand(SideDrawerCommandId, object)

Executes the command associated with the specified command ID.

Declaration

cs-api-definition
public bool ExecuteCommand(SideDrawerCommandId id, object parameter)

Parameters

id

SideDrawerCommandId

The SideDrawerCommandId that identifies the command to execute.

parameter

object

The parameter to pass to the command.

Returns

bool

true if the command was executed successfully; otherwise, false.

ExecuteDefaultCommand(SideDrawerCommandId, object)

Executes the default command associated with the specified command ID.

Declaration

cs-api-definition
public bool ExecuteDefaultCommand(SideDrawerCommandId id, object parameter)

Parameters

id

SideDrawerCommandId

The SideDrawerCommandId that identifies the default command to execute.

parameter

object

The parameter to pass to the command.

Returns

bool

true if the default command was executed successfully; otherwise, false.