ClassAIPromptCommandView
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
AIPromptCommandView()
Initializes a new instance of the class.
Declaration
public AIPromptCommandView()
Fields
CommandGroupStyleProperty
Identifies the CommandGroupStyle property.
Declaration
public static readonly BindableProperty CommandGroupStyleProperty
Field Value
BindableProperty
CommandStyleProperty
Identifies the CommandStyle property.
Declaration
public static readonly BindableProperty CommandStyleProperty
Field Value
BindableProperty
CommandTappedCommandProperty
Identifies the CommandTappedCommand property.
Declaration
public static readonly BindableProperty CommandTappedCommandProperty
Field Value
BindableProperty
CommandsProperty
Identifies the Commands property.
Declaration
public static readonly BindableProperty CommandsProperty
Field Value
BindableProperty
Properties
CommandGroupStyle
Gets or sets the style that is to be applied to the AIPromptCommandGroupView instances presenting groups of commands.
Declaration
public Style CommandGroupStyle { get; set; }
Property Value
Style
CommandStyle
Gets or sets the style that is to be applied to the AIPromptCommandItemView instances presenting the AIPromptCommand items.
Declaration
public Style CommandStyle { get; set; }
Property Value
Style
CommandTappedCommand
Gets or sets the command that is executed when an AIPrompt command is pressed. The parameter of this command is of type AIPromptCommandBase.
Declaration
public ICommand CommandTappedCommand { get; set; }
Property Value
Commands
Gets or sets the AIPrompt commands.
Declaration
public IList<AIPromptCommandBase> Commands { get; set; }
Property Value