Represents event arguments for the OutputVisualItemCreated event.
Definition
Namespace:Telerik.WinControls.UI.AIPrompt
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class OutputVisualItemCreatedEventArgs : EventArgs
Inheritance: objectEventArgsOutputVisualItemCreatedEventArgs
Inherited Members
Constructors
Initializes event data with the output item and its default visual item.
C#
public OutputVisualItemCreatedEventArgs(AIPromptOutputItem outputItem, AIPromptOutputVisualItem visualItem)
The output data item for which a visual item is being created.
visualItemAIPromptOutputVisualItemThe default visual item that can be customized or replaced by the event handler.
Properties
Gets the output item.
C#
public AIPromptOutputItem OutputItem { get; }
Gets or sets the output visual item.
C#
public virtual AIPromptOutputVisualItem VisualItem { get; set; }
Set this property to null in the event handler to omit the visual item from the output view.