ClassAIPromptOutputVisualItem
Definition
Namespace:Telerik.WinControls.UI.AIPrompt
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class AIPromptOutputVisualItem : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementAIPromptOutputVisualItem
Implements:
Inherited Members
Constructors
AIPromptOutputVisualItem()
Declaration
public AIPromptOutputVisualItem()
Properties
ButtonsContainer
Gets the buttons container.
Declaration
public AIPromptButtonsContainer ButtonsContainer { get; }
Property Value
ContentElement
Gets the content element. Used to display the response text.
Declaration
public LightVisualElement ContentElement { get; }
Property Value
CopyButtonElement
Gets the copy button element.
Declaration
public AIPromptButtonElement CopyButtonElement { get; }
Property Value
DislikeButtonElement
Gets the dislike button element.
Declaration
public AIPromptToggleButtonElement DislikeButtonElement { get; }
Property Value
HeaderElement
Gets the header element.
Declaration
public LightVisualElement HeaderElement { get; }
Property Value
LikeButtonElement
Gets the like button element.
Declaration
public AIPromptToggleButtonElement LikeButtonElement { get; }
Property Value
MainStack
Gets the main elements stack.
Declaration
public StackLayoutElementLite MainStack { get; }
Property Value
PromptElement
Gets the prompt element.
Declaration
public LightVisualElement PromptElement { get; }
Property Value
RetryButtonElement
Gets the retry button element.
Declaration
public AIPromptButtonElement RetryButtonElement { get; }
Property Value
Methods
CreateButtonsContainer()
Declaration
protected virtual AIPromptButtonsContainer CreateButtonsContainer()
Returns
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateContentElement()
Declaration
protected virtual LightVisualElement CreateContentElement()
Returns
CreateCopyButtonElement()
Declaration
protected virtual AIPromptButtonElement CreateCopyButtonElement()
Returns
CreateDislikeButtonElement()
Declaration
protected virtual AIPromptToggleButtonElement CreateDislikeButtonElement()
Returns
CreateHeaderElement()
Declaration
protected virtual LightVisualElement CreateHeaderElement()
Returns
CreateLikeButtonElement()
Declaration
protected virtual AIPromptToggleButtonElement CreateLikeButtonElement()
Returns
CreateMainStack()
Declaration
protected virtual StackLayoutElementLite CreateMainStack()
Returns
CreatePromptElement()
Declaration
protected virtual LightVisualElement CreatePromptElement()
Returns
CreateRetryButtonElement()
Declaration
protected virtual AIPromptButtonElement CreateRetryButtonElement()
Returns
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
OnRatingChanged(double)
Declaration
protected virtual void OnRatingChanged(double newRating)
Parameters
newRating
SynchronizeProperties(AIPromptOutputItem)
Declaration
protected virtual void SynchronizeProperties(AIPromptOutputItem outputItem)
Parameters
outputItem