Class PivotGridSortHeaderCellModel
This class defines the sortable PivotGrid header cell.
Inheritance
System.Object
PivotGridSortHeaderCellModel
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class PivotGridSortHeaderCellModel : GridCellModel<PivotGridSortCellRenderer>, IDisposable
Constructors
PivotGridSortHeaderCellModel()
Declaration
public PivotGridSortHeaderCellModel()
Methods
CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
Calculates the preferred size of the cell based on its contents including margins.
Declaration
public override Size CalculatePreferredCellSize(int rowIndex, int colIndex, GridStyleInfo style, GridQueryBounds queryBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
GridStyleInfo | style | This parameter is used to apply text margins to the cell. |
GridQueryBounds | queryBounds | Vertical or Horizontal. |
Returns
Type | Description |
---|---|
System.Windows.Size | The optimal size of the cell. |
Overrides
Implements
System.IDisposable