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:
public class AIPromptOutputView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptViewAIPromptOutputView...
Implements:
Inherited Members
Constructors
Initializes a new instance of the class.
public AIPromptOutputView()
Fields
OutputItemCopyCommandProperty
BindableProperty
Identifies the OutputItemCopyCommand property.
public static readonly BindableProperty OutputItemCopyCommandProperty
OutputItemRatingChangedCommandProperty
BindableProperty
Identifies the OutputItemRatingChangedCommand property.
public static readonly BindableProperty OutputItemRatingChangedCommandProperty
OutputItemRetryCommandProperty
BindableProperty
Identifies the OutputItemRetryCommand property.
public static readonly BindableProperty OutputItemRetryCommandProperty
OutputItemsProperty
BindableProperty
Identifies the OutputItems property.
public static readonly BindableProperty OutputItemsProperty
OutputItemStyleProperty
BindableProperty
Identifies the OutputItemStyle property.
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.
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.
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.
public ICommand OutputItemRetryCommand { get; set; }
Gets or sets the output items (the responses from the ai).
public IList<AIPromptOutputItem> OutputItems { get; set; }
OutputItemStyle
Style
Gets or sets the style that is to be applied to the output items.
public Style OutputItemStyle { get; set; }