Class PivotGridTotalCellModel
Implements the data or model part for the total cell in the PivotGridControl.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotGridTotalCellModel : GridTextBoxCellModel, ISerializable, IDisposable
Remarks
See PivotGridTotalCellRenderer for more detailed information about this cell type.
Constructors
PivotGridTotalCellModel(GridModel)
Initializes a new instance of the PivotGridTotalCellModel class with the specified GridModel.
Declaration
public PivotGridTotalCellModel(GridModel gridModel)
Parameters
Type | Name | Description |
---|---|---|
GridModel | gridModel | The GridModel that holds all data information about a grid. |
Remarks
You can typically access the cell models through the CellModels property of the GridModel.
PivotGridTotalCellModel(SerializationInfo, StreamingContext)
Initializes a new instances of the PivotGridTotalCellModel with the specified serialization information and streaming context.
Declaration
protected PivotGridTotalCellModel(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The information required to serialize and deserialize this instance. |
System.Runtime.Serialization.StreamingContext | context | The source and destination of the serialized stream. |
Methods
CreateRenderer(GridControlBase)
Creates a renderer for this cell model.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The grid control that holds the corresponding cell. |
Returns
Type | Description |
---|---|
GridCellRendererBase | The renderer for this cell model. |