ClassRadAIPromptItem
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
RadAIPromptItem()
Initializes a new instance of the RadAIPromptItem class.
Declaration
public RadAIPromptItem()
Fields
IconProperty
Identifies the Icon dependency property.
Declaration
public static readonly DependencyProperty IconProperty
Field Value
DependencyProperty
IconTemplateProperty
Identifies the IconTemplate dependency property.
Declaration
public static readonly DependencyProperty IconTemplateProperty
Field Value
DependencyProperty
IsActiveProperty
Identifies the IsActive dependency property.
Declaration
public static readonly DependencyProperty IsActiveProperty
Field Value
DependencyProperty
Properties
Icon
Gets or sets the icon shown in the header for this item.
Declaration
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "Reviewed.")]
public object Icon { get; set; }
Property Value
Remarks
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
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.
Declaration
public DataTemplate IconTemplate { get; set; }
Property Value
DataTemplate
Methods
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
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.
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs