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

Abstract class that defines the common API for all commands that can be executed by a RadAutoComplete instance.

Definition

Constructors

C#
protected AutoCompleteCommand()

Properties

Gets the RadAutoComplete instance associated with this command.

C#
public RadAutoComplete AutoComplete { get; }

Methods

Determines whether the command can execute in its current state.

C#
public abstract bool CanExecute(object parameter)
Parameters:parameterobjectReturns:

bool

Implements: ICommand.CanExecute(object)

Defines the method to be called when the command is invoked.

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

Implements: ICommand.Execute(object)

Raises the CanExecuteChanged event.

C#
public void RaiseCanExecuteChanged()

Events

Occurs when the ability of the command to execute has changed.

C#
public event EventHandler CanExecuteChanged

Implements: ICommand.CanExecuteChanged