Class
AIPromptCommandView

A view that displays the commands of a RadAIPrompt.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class AIPromptCommandView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptViewAIPromptCommandView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members AIPromptView.ControlTemplatePropertyAIPromptView.HeaderTextPropertyAIPromptView.HeaderImageSourcePropertyAIPromptView.ControlTemplateAIPromptView.HeaderTextAIPromptView.HeaderImageSourceRadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()

Constructors

AIPromptCommandView()

Initializes a new instance of the class.

Declaration

cs-api-definition
public AIPromptCommandView()

Fields

CommandGroupStyleProperty

Identifies the CommandGroupStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandGroupStyleProperty

Field Value

BindableProperty

CommandStyleProperty

Identifies the CommandStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandStyleProperty

Field Value

BindableProperty

CommandTappedCommandProperty

Identifies the CommandTappedCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandTappedCommandProperty

Field Value

BindableProperty

CommandsProperty

Identifies the Commands property.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public ICommand CommandTappedCommand { get; set; }

Property Value

ICommand

Commands

Gets or sets the AIPrompt commands.

Declaration

cs-api-definition
public IList<AIPromptCommandBase> Commands { get; set; }

Property Value

IList<AIPromptCommandBase>