New to Telerik UI for .NET MAUIStart a free 30-day trial

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: AIPromptCommandGroupViewAIPromptCommandItemView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

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; }