New to Telerik UI for WinFormsStart a free 30-day trial

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:

C#
public class VisualItemCreatingEventArgs : EventArgs

Inheritance: objectEventArgsVisualItemCreatingEventArgs

Inherited Members EventArgs.Empty

Constructors

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

C#
public VisualItemCreatingEventArgs(BaseChatItemElement element)
Parameters:elementBaseChatItemElement

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

Properties

Gets the underlying chat data item associated with this instance.

C#
public BaseChatDataItem DataItem { get; }

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

C#
public BaseChatItemElement VisualItem { get; set; }