Interface IGridCellModelFactory
Provides a CreateCellModel(String, GridModel) method that instantiates GridCellModelBase objects on demand when a cell is touched that has a CellType that is not found in the CellModels collection.
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public interface IGridCellModelFactory
Properties
IsDefault
Gets a value indicating whether true when the grid is allowed to replace this factory with a derived factory at any time.
Declaration
bool IsDefault { get; }
Property Value
Type |
---|
System.Boolean |
Methods
CreateCellModel(String, GridModel)
Instantiates GridCellModelBase objects on demand when a cell is touched that has a CellType that is not found in the CellModels collection.
Declaration
GridCellModelBase CreateCellModel(string controlId, GridModel pGrid)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId | |
GridModel | pGrid |
Returns
Type | Description |
---|---|
GridCellModelBase | returns GridCellModelBase |