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.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.AIPrompt
Assembly: Telerik.Maui.Controls.dll
Syntax
public class AIPromptOutputView : AIPromptView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
AIPromptOutputView()
Initializes a new instance of the class.
Declaration
public AIPromptOutputView()
Fields
ActualOutputItemCopyCommandProperty
Identifies the ActualOutputItemCopyCommand property.
Declaration
public static readonly BindableProperty ActualOutputItemCopyCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ActualOutputItemRetryCommandProperty
Identifies the ActualOutputItemRetryCommand property.
Declaration
public static readonly BindableProperty ActualOutputItemRetryCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ActualOutputItemStyleProperty
Identifies the ActualOutputItemStyle property.
Declaration
public static readonly BindableProperty ActualOutputItemStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutputItemCopyCommandProperty
Identifies the OutputItemCopyCommand property.
Declaration
public static readonly BindableProperty OutputItemCopyCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutputItemRatingChangedCommandProperty
Identifies the OutputItemRatingChangedCommand property.
Declaration
public static readonly BindableProperty OutputItemRatingChangedCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutputItemRetryCommandProperty
Identifies the OutputItemRetryCommand property.
Declaration
public static readonly BindableProperty OutputItemRetryCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutputItemsProperty
Identifies the
Declaration
public static readonly BindableProperty OutputItemsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OutputItemStyleProperty
Identifies the OutputItemStyle property.
Declaration
public static readonly BindableProperty OutputItemStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ActualOutputItemCopyCommand
Gets the actual command that is executed when an AIPrompt Copy button is clicked. The default behavior of this command is to execute the OutputItemCopyCommand if it is not null, or to set the text in the Clipboard to be the ResponseText.
Declaration
public ICommand ActualOutputItemCopyCommand { get; }
Property Value
System.Windows.Input.ICommand
|
ActualOutputItemRetryCommand
Gets the actual command that is executed when an AIPrompt Retry button is clicked. The default behavior of this command is to execute the OutputItemRetryCommand if it is not null.
Declaration
public ICommand ActualOutputItemRetryCommand { get; }
Property Value
System.Windows.Input.ICommand
|
ActualOutputItemStyle
Gets or sets the actual style that will be applied to the output item. This is a merger of the custom OutputItemStyle and the default style.
Declaration
public Style ActualOutputItemStyle { get; }
Property Value
Microsoft.Maui.Controls.Style
|
OutputItemCopyCommand
Gets or sets the command that is executed when the Copy button is pressed.
Declaration
public ICommand OutputItemCopyCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
OutputItemRatingChangedCommand
Gets or sets the command that is executed when the Rating of an output item changes.
Declaration
public ICommand OutputItemRatingChangedCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
OutputItemRetryCommand
Gets or sets the command that is executed when the Retry button is pressed.
Declaration
public ICommand OutputItemRetryCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
OutputItems
Gets or sets the output items (the responses from the ai).
Declaration
public IList<AIPromptOutputItem> OutputItems { get; set; }
Property Value
System.Collections.Generic.IList<AIPromptOutputItem>
|
OutputItemStyle
Gets or sets the style that is to be applied to the output items.
Declaration
public Style OutputItemStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|