RadAIPromptItem
Base for selectable AI Prompt toolbar items that lazily create and retain their toolbar visual and associated view.
Definition
Namespace:Telerik.WinControls.UI.AIPrompt
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class RadAIPromptItem
Inheritance: objectRadAIPromptItem
Derived Classes:
Constructors
protected RadAIPromptItem()
Properties
Gets a boolean value indicating whether the item is currently active.
public bool IsActive { get; protected set; }
Gets or sets the image displayed for the item in the toolbar.
public Image ItemImage { get; set; }
Gets or sets the SVG image displayed for the item in the toolbar.
public RadSvgImage ItemSvgImage { get; set; }
Methods
Creates the toolbar visual that lets the user select this item.
Creates the view displayed when this item is selected.
Creates and caches the toolbar visual on first access, copying this item's active state and display images and text.
public virtual AIPromptToolbarItem GetToolbarVisualItem()
The toolbar visual associated with this item.
Creates and caches this item's view on first access and associates the view with this item.
public virtual AIPromptViewBase GetView()
The view displayed when this item is active.
Activates this item in its owning RadAIPromptElement, if it has an owner.
protected virtual void OnToolbarItemClick()