New to Telerik UI for WinForms? Start a free 30-day trial

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 EventArgs.Empty

Constructors

Initializes event data with the output item and its default visual item.

C#
public OutputVisualItemCreatedEventArgs(AIPromptOutputItem outputItem, AIPromptOutputVisualItem visualItem)
Parameters:outputItemAIPromptOutputItem

The output data item for which a visual item is being created.

visualItemAIPromptOutputVisualItem

The 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.