AIPromptCommandView
A view that displays the commands of a RadAIPrompt.
Definition
Namespace:Telerik.Maui.Controls.AIPrompt
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class AIPromptCommandView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptViewAIPromptCommandView...
Implements:
Inherited Members
Constructors
Initializes a new instance of the class.
public AIPromptCommandView()
Fields
CommandGroupStyleProperty
BindableProperty
Identifies the CommandGroupStyle property.
public static readonly BindableProperty CommandGroupStyleProperty
CommandsProperty
BindableProperty
Identifies the Commands property.
public static readonly BindableProperty CommandsProperty
CommandStyleProperty
BindableProperty
Identifies the CommandStyle property.
public static readonly BindableProperty CommandStyleProperty
CommandTappedCommandProperty
BindableProperty
Identifies the CommandTappedCommand property.
public static readonly BindableProperty CommandTappedCommandProperty
Properties
CommandGroupStyle
Style
Gets or sets the style that is to be applied to the AIPromptCommandGroupView instances presenting groups of commands.
public Style CommandGroupStyle { get; set; }
Gets or sets the AIPrompt commands.
public IList<AIPromptCommandBase> Commands { get; set; }
CommandStyle
Style
Gets or sets the style that is to be applied to the AIPromptCommandItemView instances presenting the AIPromptCommand items.
public Style CommandStyle { get; set; }
Gets or sets the command that is executed when an AIPrompt command is pressed. The parameter of this command is of type AIPromptCommandBase.
public ICommand CommandTappedCommand { get; set; }