ComboBoxCommand
Provides a base class for all commands that can be executed within a RadComboBox control. This abstract class defines the common API and provides access to the associated ComboBox instance.
Definition
Namespace:Telerik.Maui.Controls.ComboBox
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class ComboBoxCommand : NotifyPropertyChangedBase, INotifyPropertyChanged, ICommand
Inheritance: objectNotifyPropertyChangedBaseComboBoxCommand
Derived Classes:
Implements:
Inherited Members
Constructors
protected ComboBoxCommand()
Properties
Gets the RadComboBox instance that this command is associated with. This property provides access to the ComboBox's properties and methods for command execution.
public RadComboBox ComboBox { get; }
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.
Executes the command with the specified parameter. Override this method to implement the command's behavior and logic.
public abstract void Execute(object parameter)
The parameter passed to the command.
Implements:
Raises the CanExecuteChanged event to notify subscribers that the command's execution state may have changed. Call this method when conditions change that might affect whether the command can be executed.
public void RaiseCanExecuteChanged()
Events
Occurs when the ability of the command to execute has changed. Subscribe to this event to update UI elements that depend on the command's execution state.
public event EventHandler CanExecuteChanged
Implements: