RadAIPromptItem
Represents an AIPrompt item, the default item of the RadAIPrompt.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ConversationalUI.dll
Syntax:
public class RadAIPromptItem : HeaderedContentControl
Inheritance: objectRadAIPromptItem
Derived Classes:
Constructors
Initializes a new instance of the RadAIPromptItem class.
public RadAIPromptItem()
Fields
IconProperty
DependencyProperty
Identifies the Icon dependency property.
public static readonly DependencyProperty IconProperty
IconTemplateProperty
DependencyProperty
Identifies the IconTemplate dependency property.
public static readonly DependencyProperty IconTemplateProperty
IsActiveProperty
DependencyProperty
Identifies the IsActive dependency property.
public static readonly DependencyProperty IsActiveProperty
Properties
Gets or sets the icon shown in the header for this item.
public object Icon { get; set; }
By default a Uri object pointing to an svg image is expected which is displayed in a RadSvgImage. You can also pass a different value and modify the look by setting the IconTemplate property.
IconTemplate
DataTemplate
Gets or sets DataTemplate applied to the icon ContentPresenter in the RadAIPromptItem ControlTemplate. The default IconTemplate contains an RadSvgImage with its UriSource property bound to the Icon property.
public DataTemplate IconTemplate { get; set; }
Methods
OnCreateAutomationPeer()
AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)