Class
AutoCompleteCommand

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

Definition

Namespace:Telerik.Maui.Controls.AutoComplete

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public abstract class AutoCompleteCommand : NotifyPropertyChangedBase, INotifyPropertyChanged, ICommand

Inheritance: objectNotifyPropertyChangedBaseAutoCompleteCommand

Derived Classes: AutoCompleteClearTextCommandAutoCompleteRemoveTokenCommand

Implements: ICommandINotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

AutoCompleteCommand()

Declaration

cs-api-definition
protected AutoCompleteCommand()

Properties

AutoComplete

Gets the RadAutoComplete instance associated with this command.

Declaration

cs-api-definition
public RadAutoComplete AutoComplete { get; }

Property Value

RadAutoComplete

Methods

CanExecute(object)

Determines whether the command can execute in its current state.

Declaration

cs-api-definition
public abstract bool CanExecute(object parameter)

Parameters

parameter

object

Returns

bool

Implements ICommand.CanExecute(object)

Execute(object)

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

Declaration

cs-api-definition
public abstract void Execute(object parameter)

Parameters

parameter

object

Implements ICommand.Execute(object)

RaiseCanExecuteChanged()

Raises the CanExecuteChanged event.

Declaration

cs-api-definition
public void RaiseCanExecuteChanged()

Events

CanExecuteChanged

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

Declaration

cs-api-definition
public event EventHandler CanExecuteChanged

Event Value

EventHandler

Implements ICommand.CanExecuteChanged