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

Provides data for the CreatingVisualListItem event, allowing customization of visual list item creation.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CreatingVisualListItemEventArgs : EventArgs

Inheritance: objectEventArgsCreatingVisualListItemEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the CreatingVisualListItemEventArgs class.

C#
public CreatingVisualListItemEventArgs()

Initializes a new instance of the CreatingVisualListItemEventArgs class with the specified data item and visual item.

C#
public CreatingVisualListItemEventArgs(RadListDataItem dataItem, RadListVisualItem visualItem)
Parameters:dataItemRadListDataItem

The RadListDataItem for which a visual item is being created.

visualItemRadListVisualItem

The RadListVisualItem being created.

Properties

Gets the data item for which a virtualized visual element is being created.

C#
public RadListDataItem DataItem { get; }

Gets or sets the custom visual list item that will provide the visual representation for the data item.

C#
public RadListVisualItem VisualItem { get; set; }