Class PivotGridTemplateCellModel
This class defines the renderer part of a PivotGrid template cell.
Inheritance
System.Object
PivotGridTemplateCellModel
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class PivotGridTemplateCellModel : GridCellModel<PivotGridTemplateCellRenderer>, IDisposable
Constructors
PivotGridTemplateCellModel()
Declaration
public PivotGridTemplateCellModel()
Methods
CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
Calculate the size of the cell.
Declaration
public override Size CalculatePreferredCellSize(int rowIndex, int colIndex, GridStyleInfo style, GridQueryBounds queryBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Row index of the cell. |
System.Int32 | colIndex | Column index of the cell. |
GridStyleInfo | style | To apply styles like background, foreground, font-size and font-weight etc... to the cell. |
GridQueryBounds | queryBounds | Vertical or Horizontal bounds. |
Returns
Type | Description |
---|---|
System.Windows.Size | Optimal size of the cell. |
Overrides
Implements
System.IDisposable