New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents the command that is executed when the user taps on the clear button of each token.

Definition

Constructors

C#
public ComboBoxRemoveTokenCommand()

Methods

Determines whether the command can execute with the specified parameter in its current state. Override this method to implement custom logic for determining command availability.

C#
public override bool CanExecute(object parameter)
Parameters:parameterobject

The parameter passed to the command.

Returns:

bool

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

Overrides: ComboBoxCommand.CanExecute(object)

Executes the command with the specified parameter. Override this method to implement the command's behavior and logic.

C#
public override void Execute(object parameter)
Parameters:parameterobject

The parameter passed to the command.

Overrides: ComboBoxCommand.Execute(object)