Provides data for the event that occurs when a visual chat item is being created.
Use this class to access both the underlying chat data and its visual representation during item creation events. This enables customization or inspection of chat items as they are instantiated in the UI.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class VisualItemCreatingEventArgs : EventArgs
Inheritance: objectEventArgsVisualItemCreatingEventArgs
Inherited Members
Constructors
Initializes a new instance of the VisualItemCreatingEventArgs class using the specified chat item element.
public VisualItemCreatingEventArgs(BaseChatItemElement element)
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.
public BaseChatDataItem DataItem { get; }
Gets or sets the underlying chat visual item associated with this instance.
public BaseChatItemElement VisualItem { get; set; }