New to Telerik UI for WinForms? Start a free 30-day trial

Creates virtualized cell elements for a pivot row and lets the grid's cell-creation event replace them.

Definition

Constructors

Initializes a provider that creates cells for the specified grid row.

C#
public PivotCellElementProvider(RadPivotGridElement owner, PivotRowElement row)
Parameters:ownerRadPivotGridElement

The grid element that raises the cell-creation event.

rowPivotRowElement

The visual row that will contain the created cells.

Methods

Creates a cell element and raises CellCreating before returning it. An event handler can replace the default element.

C#
public override IVirtualizedElement<PivotGroupNode> CreateElement(PivotGroupNode data, object context)
Parameters:dataPivotGroupNode

The column-group node represented by the requested cell.

contextobject

Virtualization context supplied by the container; this provider does not use it.

Returns:

IVirtualizedElement<PivotGroupNode>

The default cell element or the replacement supplied by the cell-creation event.

Overrides: BaseVirtualizedElementProvider<PivotGroupNode>.CreateElement(PivotGroupNode, object)