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

A view that displays the output area of a RadAIPrompt. Contains things like the output items, which are the responses from the AI model.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class AIPromptOutputView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptViewAIPromptOutputView...

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 AIPromptOutputView()

Fields

Identifies the OutputItemCopyCommand property.

C#
public static readonly BindableProperty OutputItemCopyCommandProperty

Identifies the OutputItemRatingChangedCommand property.

C#
public static readonly BindableProperty OutputItemRatingChangedCommandProperty

Identifies the OutputItemRetryCommand property.

C#
public static readonly BindableProperty OutputItemRetryCommandProperty

OutputItemsProperty

BindableProperty

Identifies the OutputItems property.

C#
public static readonly BindableProperty OutputItemsProperty

OutputItemStyleProperty

BindableProperty

Identifies the OutputItemStyle property.

C#
public static readonly BindableProperty OutputItemStyleProperty

Properties

Gets or sets the command that is executed when the Copy button is pressed. The parameter of this command is of type AIPromptOutputItem.

C#
public ICommand OutputItemCopyCommand { get; set; }

Gets or sets the command that is executed when the Rating of an output item changes. The parameter of this command is of type AIPromptOutputItem.

C#
public ICommand OutputItemRatingChangedCommand { get; set; }

Gets or sets the command that is executed when the Retry button is pressed. The parameter of this command is of type AIPromptOutputItem.

C#
public ICommand OutputItemRetryCommand { get; set; }

Gets or sets the output items (the responses from the ai).

C#
public IList<AIPromptOutputItem> OutputItems { get; set; }

Gets or sets the style that is to be applied to the output items.

C#
public Style OutputItemStyle { get; set; }