ClassRadAIPromptButton
A button that displays a RadAIPrompt as the child of a Popup element.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ConversationalUI.dll
Syntax:
[TelerikToolboxCategory("ConversationalUI")]
public class RadAIPromptButton : RadButton
Inheritance: objectRadButtonRadAIPromptButton
Inherited Members
Constructors
RadAIPromptButton()
Initializes a new instance of the RadAIPromptButton class.
Declaration
public RadAIPromptButton()
Fields
AIPromptProperty
Identifies the AIPrompt dependency property.
Declaration
public static readonly DependencyProperty AIPromptProperty
Field Value
DependencyProperty
IsInPopupProperty
Identifies the IsInPopup dependency property.
Declaration
public static readonly DependencyProperty IsInPopupProperty
Field Value
DependencyProperty
IsPopupOpenProperty
Identifies the IsPopupOpen dependency property.
Declaration
public static readonly DependencyProperty IsPopupOpenProperty
Field Value
DependencyProperty
PopupHeightProperty
Identifies the PopupHeight dependency property.
Declaration
public static readonly DependencyProperty PopupHeightProperty
Field Value
DependencyProperty
PopupHorizontalOffsetProperty
Identifies the PopupHorizontalOffset dependency property.
Declaration
public static readonly DependencyProperty PopupHorizontalOffsetProperty
Field Value
DependencyProperty
PopupVerticalOffsetProperty
Identifies the PopupVerticalOffset dependency property.
Declaration
public static readonly DependencyProperty PopupVerticalOffsetProperty
Field Value
DependencyProperty
PopupWidthProperty
Identifies the PopupWidth dependency property.
Declaration
public static readonly DependencyProperty PopupWidthProperty
Field Value
DependencyProperty
Properties
AIPrompt
Gets or sets the RadAIPrompt instance that will be the child of the Popup control.
IsPopupOpen
Gets or sets a boolean value indicating whether the Popup hosting the RadAIPrompt is open.
PopupHeight
Gets or sets a double value for Height of the Popup hosting the RadAIPrompt.
PopupHorizontalOffset
Gets or sets a double value for HorizontalOffset of the Popup hosting the RadAIPrompt.
Declaration
public double PopupHorizontalOffset { get; set; }
Property Value
PopupVerticalOffset
Gets or sets a double value for VerticalOffset of the Popup hosting the RadAIPrompt.
PopupWidth
Gets or sets a double value for Width of the Popup hosting the RadAIPrompt.
Methods
GetIsInPopup(DependencyObject)
Gets the value of IsInPopup attached property.
Declaration
public static bool GetIsInPopup(DependencyObject obj)
Parameters
obj
DependencyObject
The object to get the property for.
Returns
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. .
Declaration
public override void OnApplyTemplate()
Overrides
OnClick()
Invoke the base OnClick and execute the associated Command.
Declaration
protected override void OnClick()
Overrides
OnCreateAutomationPeer()
Returns an automation peer for this RadAIPromptButton.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
Overrides