Class
VisualItemCreatingEventArgs

Provides data for the event that occurs when a visual chat item is being created.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class VisualItemCreatingEventArgs : EventArgs

Inheritance: objectEventArgsVisualItemCreatingEventArgs

Inherited Members EventArgs.Empty

Constructors

VisualItemCreatingEventArgs(BaseChatItemElement)

Initializes a new instance of the VisualItemCreatingEventArgs class using the specified chat item element.

Declaration

cs-api-definition
public VisualItemCreatingEventArgs(BaseChatItemElement element)

Parameters

element

BaseChatItemElement

The BaseChatItemElement that provides the data and visual representation for the event arguments. Cannot be null.

Properties

DataItem

Gets the underlying chat data item associated with this instance.

Declaration

cs-api-definition
public BaseChatDataItem DataItem { get; }

Property Value

BaseChatDataItem

VisualItem

Gets or sets the underlying chat visual item associated with this instance.

Declaration

cs-api-definition
public BaseChatItemElement VisualItem { get; set; }

Property Value

BaseChatItemElement