A view that presents a AIPromptCommandBase.
Definition
Namespace:Telerik.Maui.Controls.AIPrompt
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class AIPromptCommandItemViewBase : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptCommandItemViewBase
Derived Classes:
Implements:
Inherited Members
Constructors
C#
public AIPromptCommandItemViewBase()
Fields
ImageSourceProperty
BindableProperty
Identifies the ImageSource property.
C#
public static readonly BindableProperty ImageSourceProperty
TextProperty
BindableProperty
Identifies the Text property.
C#
public static readonly BindableProperty TextProperty
Properties
ImageSource
ImageSource
Gets or sets the image source.
C#
public ImageSource ImageSource { get; set; }
Gets or sets the text that is displayed in the UI. If this view presents a AIPromptCommand and the Command is null, then this text is used to make a request to the AI model, i.e. the PromptRequest event is raised.
C#
public string Text { get; set; }