Class RegisterCellModel
Provides the functionalities for including the cell model of some custom cell types to the Grid.
Inheritance
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class RegisterCellModel
Remarks
Using this class, the ButtonEdit, Calendar, PictureBox, GridinCell, IntegerTextBox, PercentageTextBox, LinkLabel, DropDownGrid, DateTime cell, DoubleTextBox can be registered in grid.
Constructors
RegisterCellModel()
Initializes a new instance of the RegisterCellModel class.
Declaration
public RegisterCellModel()
Properties
Grid
Gets or sets the GridModel of cell model.
Declaration
public static GridModel Grid { get; set; }
Property Value
Type | Description |
---|---|
GridModel |
Methods
GridCellType(GridControl, CustomCellTypes)
Registers the some custom cell type to GridControl.
Declaration
public static void GridCellType(GridControl Grid, CustomCellTypes res)
Parameters
Type | Name | Description |
---|---|---|
GridControl | Grid | Grid control on which the cell type has to be registered. |
CustomCellTypes | res | The name of the cell type. |
GridDataBoundCellType(GridDataBoundGrid, CustomCellTypes)
Registers the some custom cell type to GridDataBoundGrid control.
Declaration
public static void GridDataBoundCellType(GridDataBoundGrid Grid, CustomCellTypes res)
Parameters
Type | Name | Description |
---|---|---|
GridDataBoundGrid | Grid | GridDataBoundGrid on which the cell type has to be registered |
CustomCellTypes | res | The name of the cell type |
GridGroupingCellType(GridGroupingControl, CustomCellTypes)
Registers the some custom cell type to GridGroupingControl.
Declaration
public static void GridGroupingCellType(GridGroupingControl Grid, CustomCellTypes res)
Parameters
Type | Name | Description |
---|---|---|
GridGroupingControl | Grid | GridGroupingcontrol on which the cell type has to be registered |
CustomCellTypes | res | The name of the cell type |