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

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

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
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.IsKeyboardFocusedPropertyRadButtonBase.CommandPropertyRadButtonBase.CommandParameterPropertyRadButtonBase.ControlTemplatePropertyRadButtonBase.BackgroundColorPropertyRadButtonBase.BackgroundPropertyRadButtonBase.PaddingPropertyRadButtonBase.BorderColorPropertyRadButtonBase.BorderBrushPropertyRadButtonBase.BorderThicknessPropertyRadButtonBase.CornerRadiusPropertyRadButtonBase.OnApplyTemplate()RadButtonBase.OnHandlerChanging(HandlerChangingEventArgs)RadButtonBase.OnHandlerChanged()RadButtonBase.ChangeVisualState()RadButtonBase.IsPressedRadButtonBase.IsKeyboardFocusedRadButtonBase.CommandRadButtonBase.CommandParameterRadButtonBase.ControlTemplateRadButtonBase.BackgroundColorRadButtonBase.BackgroundRadButtonBase.PaddingRadButtonBase.BorderColorRadButtonBase.BorderBrushRadButtonBase.BorderThicknessRadButtonBase.CornerRadiusRadButtonBase.IsEnabledCoreRadButtonBase.ClickedRadButtonBase.PressedRadButtonBase.Released...

Constructors

Initializes a new instance of the class.

C#
public RadAIPromptButton()

Fields

AIPromptProperty

BindableProperty

Identifies the AIPrompt property.

C#
public static readonly BindableProperty AIPromptProperty

Identifies the PopupContentViewStyle property.

C#
public static readonly BindableProperty PopupContentViewStyleProperty

PopupProperty

BindableProperty

Identifies the Popup property.

C#
public static readonly BindableProperty PopupProperty

StyleProperty

BindableProperty

Identifies the Style property.

C#
public static readonly BindableProperty StyleProperty

Properties

Gets or sets the corresponding RadAIPrompt.

C#
public RadAIPrompt AIPrompt { get; set; }

Gets or sets the corresponding RadPopup.

C#
public RadPopup Popup { get; set; }

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

C#
public Style PopupContentViewStyle { get; set; }

Style

Style

Gets or sets the style for this view.

C#
public Style Style { get; set; }

Methods

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Overrides: RadButtonBase.OnPropertyChanged(string)