New to Telerik UI for WPFStart a free 30-day trial

A button that displays a RadAIPrompt as the child of a Popup element.

Definition

Constructors

Initializes a new instance of the RadAIPromptButton class.

C#
public RadAIPromptButton()

Fields

AIPromptProperty

DependencyProperty

Identifies the AIPrompt dependency property.

C#
public static readonly DependencyProperty AIPromptProperty

IsInPopupProperty

DependencyProperty

Identifies the IsInPopup dependency property.

C#
public static readonly DependencyProperty IsInPopupProperty

IsPopupOpenProperty

DependencyProperty

Identifies the IsPopupOpen dependency property.

C#
public static readonly DependencyProperty IsPopupOpenProperty

PopupHeightProperty

DependencyProperty

Identifies the PopupHeight dependency property.

C#
public static readonly DependencyProperty PopupHeightProperty

Identifies the PopupHorizontalOffset dependency property.

C#
public static readonly DependencyProperty PopupHorizontalOffsetProperty

PopupVerticalOffsetProperty

DependencyProperty

Identifies the PopupVerticalOffset dependency property.

C#
public static readonly DependencyProperty PopupVerticalOffsetProperty

PopupWidthProperty

DependencyProperty

Identifies the PopupWidth dependency property.

C#
public static readonly DependencyProperty PopupWidthProperty

Properties

Gets or sets the RadAIPrompt instance that will be the child of the Popup control.

C#
public RadAIPrompt AIPrompt { get; set; }

Gets or sets a boolean value indicating whether the Popup hosting the RadAIPrompt is open.

C#
public bool IsPopupOpen { get; set; }

Gets or sets a double value for Height of the Popup hosting the RadAIPrompt.

C#
public double PopupHeight { get; set; }

Gets or sets a double value for HorizontalOffset of the Popup hosting the RadAIPrompt.

C#
public double PopupHorizontalOffset { get; set; }

Gets or sets a double value for VerticalOffset of the Popup hosting the RadAIPrompt.

C#
public double PopupVerticalOffset { get; set; }

Gets or sets a double value for Width of the Popup hosting the RadAIPrompt.

C#
public double PopupWidth { get; set; }

Methods

Gets the value of IsInPopup attached property.

C#
public static bool GetIsInPopup(DependencyObject obj)
Parameters:objDependencyObject

The object to get the property for.

Returns:

bool

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. .

C#
public override void OnApplyTemplate()

Overrides: RadButton.OnApplyTemplate()

Invoke the base OnClick and execute the associated Command.

C#
protected override void OnClick()

Overrides: RadButton.OnClick()

Returns an automation peer for this RadAIPromptButton.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Overrides: RadButton.OnCreateAutomationPeer()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: RadButton.OnInitialized(EventArgs)

Resets the theme.

C#
public void ResetTheme()