Class
AIPromptCommandBase

A command that is used within the RadAIPrompt to display a pre-defined action/instruction to send to the AI model.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class AIPromptCommandBase : NotifyPropertyChangedBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseAIPromptCommandBase

Derived Classes: AIPromptCommandAIPromptCommandGroup

Implements: INotifyPropertyChanged

Inherited Members NotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, Action<T>, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

AIPromptCommandBase()

Declaration

cs-api-definition
public AIPromptCommandBase()

Properties

ImageSource

Gets or sets the image source.

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

Text

Gets or sets the text that is displayed on screen. This value is used to make a request, i.e. raise the PromptRequest event, unless a Command is set.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string