Class GridCellModelFactory
GridCellModelFactory creates GridCellModelBase objects to be used in a GridModel.
Inheritance
System.Object
GridCellModelFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridCellModelFactory : GridBaseCellModelFactory, IGridCellModelFactory
Constructors
GridCellModelFactory()
Initializes a GridCellModelFactory.
Declaration
public GridCellModelFactory()
Methods
CreateCellModel(String, GridModel)
Creates GridCellModelBase objects to be used in a GridModel.
Declaration
public override GridCellModelBase CreateCellModel(string cellTypeName, GridModel pGrid)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellTypeName | A cell type name that identifies the cell model to be instantiated. |
GridModel | pGrid | The GridModel the new cell model object should be associated with. |
Returns
Type | Description |
---|---|
GridCellModelBase | A cell model. |