Class
AIPromptOutputView

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:

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

AIPromptOutputView()

Initializes a new instance of the class.

Declaration

cs-api-definition
public AIPromptOutputView()

Fields

OutputItemCopyCommandProperty

Identifies the OutputItemCopyCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty OutputItemCopyCommandProperty

Field Value

BindableProperty

OutputItemRatingChangedCommandProperty

Identifies the OutputItemRatingChangedCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty OutputItemRatingChangedCommandProperty

Field Value

BindableProperty

OutputItemRetryCommandProperty

Identifies the OutputItemRetryCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty OutputItemRetryCommandProperty

Field Value

BindableProperty

OutputItemStyleProperty

Identifies the OutputItemStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty OutputItemStyleProperty

Field Value

BindableProperty

OutputItemsProperty

Identifies the OutputItems property.

Declaration

cs-api-definition
public static readonly BindableProperty OutputItemsProperty

Field Value

BindableProperty

Properties

OutputItemCopyCommand

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

Declaration

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

Property Value

ICommand

OutputItemRatingChangedCommand

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.

Declaration

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

Property Value

ICommand

OutputItemRetryCommand

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

Declaration

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

Property Value

ICommand

OutputItemStyle

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

Declaration

cs-api-definition
public Style OutputItemStyle { get; set; }

Property Value

Style

OutputItems

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

Declaration

cs-api-definition
public IList<AIPromptOutputItem> OutputItems { get; set; }

Property Value

IList<AIPromptOutputItem>