New to Telerik UI for .NET MAUI? Start a free 30-day trial

Represents a command that sends input from a prompt control, enabling integration with command-based UI patterns.

This class implements the ICommand interface to facilitate sending messages or input from a RadPromptInput control. It is typically used to bind prompt input actions to UI elements such as buttons or menu items, allowing for consistent command handling and state management. The command's ability to execute depends on the state of the associated RadPromptInput control.

Definition

Namespace:Telerik.Maui.Controls.PromptInput

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class PromptInputSendCommand : ICommand

Inheritance: objectPromptInputSendCommand

Implements: ICommand

Constructors

C#
public PromptInputSendCommand()

Properties

Gets the associated RadPromptInput control.

C#
public RadPromptInput PromptInput { get; }

Methods

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

bool

Implements: ICommand.CanExecute(object)

C#
public virtual 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