Creates virtualized cell elements for a pivot row and lets the grid's cell-creation event replace them.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
public class PivotCellElementProvider : BaseVirtualizedElementProvider<PivotGroupNode>, IVirtualizedElementProvider<PivotGroupNode>
Inheritance: objectBaseVirtualizedElementProvider<PivotGroupNode>PivotCellElementProvider
Implements:
Inherited Members
Constructors
Initializes a provider that creates cells for the specified grid row.
public PivotCellElementProvider(RadPivotGridElement owner, PivotRowElement row)
The grid element that raises the cell-creation event.
rowPivotRowElementThe 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.
public override IVirtualizedElement<PivotGroupNode> CreateElement(PivotGroupNode data, object context)
The column-group node represented by the requested cell.
contextobjectVirtualization 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: