Class GridTableIndentCellModel
Implements the DataModel part for an indent cell in a GridTableModel.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridTableIndentCellModel : GridCellModelBase, ISerializable, IDisposable
Remarks
You can typically access cell models through the CellModels property of the GridModel class.
A GridTableIndentCellModel can serve as model for several GridTableIndentCellRenderer instances if there are several GridControlBase views for a GridModel.
See GridTableIndentCellModel for more detailed information about this cell type.
Constructors
GridTableIndentCellModel(GridModel)
Initializes a new instance of the GridTableIndentCellModel class. and stores a reference to the GridModel that the cell belongs to.
Declaration
public GridTableIndentCellModel(GridModel grid)
Parameters
Remarks
You can typically access cell models through the CellModels property of the GridModel class.
GridTableIndentCellModel(SerializationInfo, StreamingContext)
Initializes a new instance of the GridTableIndentCellModel class from a serialization stream.
Declaration
protected GridTableIndentCellModel(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or deserialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
Methods
CreateRenderer(GridControlBase)
Overrides and creates a cell renderer for GridTableIndentCellModel class.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The grid control. |
Returns
Type | Description |
---|---|
GridCellRendererBase | An instance of the GridTableIndentCellRenderer class. |