Creates virtualized data cells for the columns in a Details-view row.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DetailListViewDataCellElementProvider : BaseVirtualizedElementProvider<ListViewDetailColumn>, IVirtualizedElementProvider<ListViewDetailColumn>
Inheritance: objectBaseVirtualizedElementProvider<ListViewDetailColumn>DetailListViewDataCellElementProvider
Implements:
Inherited Members
Constructors
Creates a data-cell provider associated with the specified visual row.
public DetailListViewDataCellElementProvider(DetailListViewVisualItem owner)
The visual item whose cells this provider creates.
Methods
Creates a data cell for the column and lets the owning list view replace it through CellCreating.
public override IVirtualizedElement<ListViewDetailColumn> CreateElement(ListViewDetailColumn data, object context)
The column represented by the cell.
contextobjectNot used by this provider.
Returns:IVirtualizedElement<ListViewDetailColumn>
The default or event-handler-supplied cell element.
Overrides:
Gets the virtualized cell size using the column width and a fixed height of 50.
public override SizeF GetElementSize(ListViewDetailColumn item)
The column whose width determines the cell width.
Returns:A size with the column width and height 50.
Overrides: