Class
RadAIPromptButton

A button that uses a RadPopup to display a RadAIPrompt when clicked.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class RadAIPromptButton : RadTemplatedButton, INotifyPropertyChanged

Inheritance: objectRadButtonBaseRadTemplatedButtonRadAIPromptButton

Implements: INotifyPropertyChanged

Inherited Members RadTemplatedButton.ContentPropertyRadTemplatedButton.ContentTemplatePropertyRadTemplatedButton.TextColorPropertyRadTemplatedButton.FontFamilyPropertyRadTemplatedButton.FontSizePropertyRadTemplatedButton.FontAttributesPropertyRadTemplatedButton.TextDecorationsPropertyRadTemplatedButton.HorizontalTextAlignmentPropertyRadTemplatedButton.VerticalTextAlignmentPropertyRadTemplatedButton.ActualContentPropertyRadTemplatedButton.ContentRadTemplatedButton.ContentTemplateRadTemplatedButton.TextColorRadTemplatedButton.FontFamilyRadTemplatedButton.FontSizeRadTemplatedButton.FontAttributesRadTemplatedButton.TextDecorationsRadTemplatedButton.HorizontalTextAlignmentRadTemplatedButton.VerticalTextAlignmentRadTemplatedButton.ActualContentRadButtonBase.IsPressedPropertyRadButtonBase.CommandPropertyRadButtonBase.CommandParameterPropertyRadButtonBase.ControlTemplatePropertyRadButtonBase.BackgroundColorPropertyRadButtonBase.BackgroundPropertyRadButtonBase.PaddingPropertyRadButtonBase.BorderColorPropertyRadButtonBase.BorderBrushPropertyRadButtonBase.BorderThicknessPropertyRadButtonBase.CornerRadiusPropertyRadButtonBase.OnApplyTemplate()RadButtonBase.OnHandlerChanging(HandlerChangingEventArgs)RadButtonBase.OnHandlerChanged()RadButtonBase.ChangeVisualState()RadButtonBase.IsPressedRadButtonBase.CommandRadButtonBase.CommandParameterRadButtonBase.ControlTemplateRadButtonBase.BackgroundColorRadButtonBase.BackgroundRadButtonBase.PaddingRadButtonBase.BorderColorRadButtonBase.BorderBrushRadButtonBase.BorderThicknessRadButtonBase.CornerRadiusRadButtonBase.IsEnabledCoreRadButtonBase.ClickedRadButtonBase.PressedRadButtonBase.Released

Constructors

RadAIPromptButton()

Initializes a new instance of the class.

Declaration

cs-api-definition
public RadAIPromptButton()

Fields

AIPromptProperty

Identifies the AIPrompt property.

Declaration

cs-api-definition
public static readonly BindableProperty AIPromptProperty

Field Value

BindableProperty

PopupContentViewStyleProperty

Identifies the PopupContentViewStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty PopupContentViewStyleProperty

Field Value

BindableProperty

PopupProperty

Identifies the Popup property.

Declaration

cs-api-definition
public static readonly BindableProperty PopupProperty

Field Value

BindableProperty

StyleProperty

Identifies the Style property.

Declaration

cs-api-definition
public static readonly BindableProperty StyleProperty

Field Value

BindableProperty

Properties

AIPrompt

Gets or sets the corresponding RadAIPrompt.

Declaration

cs-api-definition
public RadAIPrompt AIPrompt { get; set; }

Property Value

RadAIPrompt

Popup

Gets or sets the corresponding RadPopup.

Declaration

cs-api-definition
public RadPopup Popup { get; set; }

Property Value

RadPopup

PopupContentViewStyle

Gets or sets the style that is to be applied to the AIPromptPopupContentView which presents the AIPrompt.

Declaration

cs-api-definition
public Style PopupContentViewStyle { get; set; }

Property Value

Style

Style

Gets or sets the style for this view.

Declaration

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

Property Value

Style

Methods

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

Overrides RadButtonBase.OnPropertyChanged(string)