Class GridDropDownGridListControlCellModel
Defines the model / data part of a drop-down ListControl-like grid.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridDropDownGridListControlCellModel : GridComboBoxCellModel, ISerializable, IDisposable
Remarks
You typically access cell models through the CellModels property of the GridModel class.
A GridDropDownGridListControlCellModel can serve as model for several GridDropDownGridListControlCellRenderer instances if there are several GridControlBase views for a GridModel.
See GridDropDownGridListControlCellRenderer for more detailed information about this cell type.
Constructors
GridDropDownGridListControlCellModel(GridModel)
Initializes a new GridDropDownGridListControlCellModel object and stores a reference to the GridModel this cell belongs to.
Declaration
public GridDropDownGridListControlCellModel(GridModel grid)
Parameters
Type | Name | Description |
---|---|---|
GridModel | grid | The GridModel for this cell model. |
Remarks
You typically access cell models through the CellModels property of the GridModel class.
GridDropDownGridListControlCellModel(GridModel, Boolean)
Initializes a new GridDropDownGridListControlCellModel object and stores a reference to the GridModel this cell belongs to.
Declaration
public GridDropDownGridListControlCellModel(GridModel grid, bool isCombobox)
Parameters
Type | Name | Description |
---|---|---|
GridModel | grid | The GridModel for this cell model. |
System.Boolean | isCombobox | is dropdown is comboBox |
Remarks
You typically access cell models through the CellModels property of the GridModel class.
GridDropDownGridListControlCellModel(SerializationInfo, StreamingContext)
Initializes a new GridDropDownGridListControlCellModel from a serialization stream.
Declaration
protected GridDropDownGridListControlCellModel(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or de_serialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
Methods
CreateRenderer(GridControlBase)
Creates a GridDropDownGridListControlCellRenderer for this cell model that is specific to the GridControlBase.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The grid control for which the cell renderer is created for. |
Returns
Type | Description |
---|---|
GridCellRendererBase | A new GridDropDownGridListControlCellRenderer specific for the specified grid. |