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

A view that presents a AIPromptCommand.

Definition

Namespace:Telerik.Maui.Controls.AIPrompt

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class AIPromptCommandItemView : AIPromptCommandItemViewBase, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewAIPromptCommandItemViewBaseAIPromptCommandItemView...

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members AIPromptCommandItemViewBase.ImageSourcePropertyAIPromptCommandItemViewBase.TextPropertyAIPromptCommandItemViewBase.ImageSourceAIPromptCommandItemViewBase.TextRadBorderContentView.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

Initializes a new instance of the class.

C#
public AIPromptCommandItemView()

Fields

CommandParameterProperty

BindableProperty

Identifies the CommandParameter property.

C#
public static readonly BindableProperty CommandParameterProperty

CommandProperty

BindableProperty

Identifies the Command property.

C#
public static readonly BindableProperty CommandProperty

LabelStyleProperty

BindableProperty

Identifies the LabelStyle property.

C#
public static readonly BindableProperty LabelStyleProperty

Properties

Gets or sets the corresponding Command.

C#
public ICommand Command { get; set; }

Gets or sets a command parameter.

C#
public object CommandParameter { get; set; }
C#
protected override bool IsEnabledCore { get; }

Gets or sets the style that is to be applied to the representing the command.

C#
public Style LabelStyle { get; set; }