Class ActionButton
Represents the ActionButton for the SfAIAssistView.
Inheritance
System.Object
ActionButton
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class ActionButton : BindableObject
Constructors
ActionButton()
Initializes a new instance of the ActionButton class.
Declaration
public ActionButton()
Fields
CommandParameterProperty
Identifies the CommandParameter bindable property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
This bindable property is read-only.
CommandProperty
Identifies the Command bindable property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Remarks
This bindable property is read-only.
IconProperty
Identifies the Image Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty IconProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
TextProperty
Identifies the Text Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty TextProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Command
Gets or sets the System.Windows.Input.ICommand that is executed when an ActionButton is tapped.
Declaration
public ICommand Command { get; set; }
Property Value
| Type |
|---|
| System.Windows.Input.ICommand |
CommandParameter
Gets or sets the command parameter of ActionButton command.
Declaration
public object CommandParameter { get; set; }
Property Value
| Type |
|---|
| System.Object |
Icon
Gets or sets the image source associated with action button.
Declaration
public ImageSource Icon { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.ImageSource |
Text
Gets or sets the text of the action button.
Declaration
public string Text { get; set; }
Property Value
| Type |
|---|
| System.String |