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

Represents an action for a button in RadPromptInput, providing bindable properties for text, image, command, and command parameter.

Definition

Namespace:Telerik.Maui.Controls.PromptInput

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class PromptInputButtonAction : Element

Inheritance: objectPromptInputButtonAction

Derived Classes: ChatButtonAction

Constructors

Initializes a new instance of the class.

C#
public PromptInputButtonAction()

Fields

CommandParameterProperty

BindableProperty

Identifies the CommandParameter bindable property.

C#
public static readonly BindableProperty CommandParameterProperty

CommandProperty

BindableProperty

Identifies the Command bindable property.

C#
public static readonly BindableProperty CommandProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource bindable property.

C#
public static readonly BindableProperty ImageSourceProperty

TextProperty

BindableProperty

Identifies the Text bindable property.

C#
public static readonly BindableProperty TextProperty

Properties

C#
public ICommand Command { get; set; }
C#
public object CommandParameter { get; set; }

ImageSource

ImageSource

C#
public ImageSource ImageSource { get; set; }
C#
public string Text { get; set; }