Class VisualItemCreatingEventArgs
Provides data for the event that occurs when a visual chat item is being created.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class VisualItemCreatingEventArgs : EventArgs
Remarks
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.
Constructors
VisualItemCreatingEventArgs(BaseChatItemElement)
Initializes a new instance of the VisualItemCreatingEventArgs class using the specified chat item element.
Declaration
public VisualItemCreatingEventArgs(BaseChatItemElement element)
Parameters
|
BaseChatItemElement
element
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
public BaseChatDataItem DataItem { get; }
Property Value
|
BaseChatDataItem
|
VisualItem
Gets or sets the underlying chat visual item associated with this instance.
Declaration
public BaseChatItemElement VisualItem { get; set; }
Property Value
|
BaseChatItemElement
|