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

A view that displays the commands of a RadAIPrompt.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
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

Initializes a new instance of the class.

C#
public AIPromptCommandView()

Fields

Identifies the CommandGroupStyle property.

C#
public static readonly BindableProperty CommandGroupStyleProperty

CommandsProperty

BindableProperty

Identifies the Commands property.

C#
public static readonly BindableProperty CommandsProperty

CommandStyleProperty

BindableProperty

Identifies the CommandStyle property.

C#
public static readonly BindableProperty CommandStyleProperty

Identifies the CommandTappedCommand property.

C#
public static readonly BindableProperty CommandTappedCommandProperty

Properties

Gets or sets the style that is to be applied to the AIPromptCommandGroupView instances presenting groups of commands.

C#
public Style CommandGroupStyle { get; set; }

Gets or sets the AIPrompt commands.

C#
public IList<AIPromptCommandBase> Commands { get; set; }

Gets or sets the style that is to be applied to the AIPromptCommandItemView instances presenting the AIPromptCommand items.

C#
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.

C#
public ICommand CommandTappedCommand { get; set; }