Class PivotGridTemplateCellModel
Implements the data or model part for the template cell in the PivotGridControl.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotGridTemplateCellModel : GridHeaderCellModel, ISerializable, IDisposable
Remarks
See PivotGridTemplateCellRenderer for more detailed information about this cell type.
Constructors
PivotGridTemplateCellModel(GridModel)
Initializes a new instance of the PivotGridTemplateCellModel class with the specified GridModel.
Declaration
public PivotGridTemplateCellModel(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.
PivotGridTemplateCellModel(SerializationInfo, StreamingContext)
Initializes a new instances of the PivotGridTemplateCellModel with the specified serialization information and streaming context.
Declaration
protected PivotGridTemplateCellModel(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. |