skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadAIPromptButton

A button that displays a RadAIPrompt as the child of a System.Windows.Controls.Primitives.Popup element.

Inheritance
System.Object
RadButton
RadAIPromptButton
Inherited Members
RadButton.HoverDelayProperty
RadButton.CornerRadiusProperty
RadButton.InnerCornerRadiusProperty
RadButton.IsBackgroundVisibleProperty
RadButton.ActivateEvent
RadButton.HoverEvent
RadButton.OnActivate()
RadButton.OnHover()
RadButton.OnLostFocus(RoutedEventArgs)
RadButton.OnGotFocus(RoutedEventArgs)
RadButton.OnMouseEnter(MouseEventArgs)
RadButton.OnMouseLeave(MouseEventArgs)
RadButton.OnMouseMove(MouseEventArgs)
RadButton.OnIsPressedChanged(DependencyPropertyChangedEventArgs)
RadButton.HoverDelay
RadButton.CornerRadius
RadButton.InnerCornerRadius
RadButton.IsBackgroundVisible
RadButton.Activate
RadButton.Hover
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
RadButton.OnApplyTemplate()

OnClick()

Invoke the base OnClick and execute the associated Command.

Declaration
protected override void OnClick()
Overrides
RadButton.OnClick()

OnCreateAutomationPeer()

Returns an automation peer for this RadAIPromptButton.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

Overrides
RadButton.OnCreateAutomationPeer()

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
RadButton.OnInitialized(EventArgs)

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.