Class RadAIPromptButton
A button that displays a RadAIPrompt as the child of a System.Windows.Controls.Primitives.Popup element.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ConversationalUI.dll
Syntax
[TelerikToolboxCategory("ConversationalUI")]
public class RadAIPromptButton : RadButton, IThemable
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
System.Windows.DependencyProperty
|
IsInPopupProperty
Identifies the IsInPopup dependency property.
Declaration
public static readonly DependencyProperty IsInPopupProperty
Field Value
System.Windows.DependencyProperty
|
IsPopupOpenProperty
Identifies the IsPopupOpen dependency property.
Declaration
public static readonly DependencyProperty IsPopupOpenProperty
Field Value
System.Windows.DependencyProperty
|
PopupHeightProperty
Identifies the PopupHeight dependency property.
Declaration
public static readonly DependencyProperty PopupHeightProperty
Field Value
System.Windows.DependencyProperty
|
PopupHorizontalOffsetProperty
Identifies the PopupHorizontalOffset dependency property.
Declaration
public static readonly DependencyProperty PopupHorizontalOffsetProperty
Field Value
System.Windows.DependencyProperty
|
PopupVerticalOffsetProperty
Identifies the PopupVerticalOffset dependency property.
Declaration
public static readonly DependencyProperty PopupVerticalOffsetProperty
Field Value
System.Windows.DependencyProperty
|
PopupWidthProperty
Identifies the PopupWidth dependency property.
Declaration
public static readonly DependencyProperty PopupWidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AIPrompt
Gets or sets the RadAIPrompt instance that will be the child of the System.Windows.Controls.Primitives.Popup control.
Declaration
public RadAIPrompt AIPrompt { get; set; }
Property Value
RadAIPrompt
|
IsPopupOpen
Gets or sets a boolean value indicating whether the System.Windows.Controls.Primitives.Popup hosting the RadAIPrompt is open.
Declaration
public bool IsPopupOpen { get; set; }
Property Value
System.Boolean
|
PopupHeight
Gets or sets a double value for Height of the System.Windows.Controls.Primitives.Popup hosting the RadAIPrompt.
Declaration
public double PopupHeight { get; set; }
Property Value
System.Double
|
PopupHorizontalOffset
Gets or sets a double value for HorizontalOffset of the System.Windows.Controls.Primitives.Popup hosting the RadAIPrompt.
Declaration
public double PopupHorizontalOffset { get; set; }
Property Value
System.Double
|
PopupVerticalOffset
Gets or sets a double value for VerticalOffset of the System.Windows.Controls.Primitives.Popup hosting the RadAIPrompt.
Declaration
public double PopupVerticalOffset { get; set; }
Property Value
System.Double
|
PopupWidth
Gets or sets a double value for Width of the System.Windows.Controls.Primitives.Popup hosting the RadAIPrompt.
Declaration
public double PopupWidth { get; set; }
Property Value
System.Double
|
Methods
GetIsInPopup(DependencyObject)
Gets the value of IsInPopup attached property.
Declaration
public static bool GetIsInPopup(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object to get the property for. |
Returns
System.Boolean
|
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. System.Windows.Controls.Control.ApplyTemplate.
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
System.Windows.Automation.Peers.AutomationPeer
|
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Overrides
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()