Class XhtmlCellModel
Implements the data/model part for a XHtml cell.
Implements
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class XhtmlCellModel : GridCellModelBase, ISerializable, IDisposable
Remarks
You typically access cell models through the CellModels property of the GridModel class.
A XhtmlCellModel can serve as model for several XhtmlCellRenderer instances if there are several GridControlBase views for a GridModel.
See XhtmlCellRenderer for more detailed information about this cell type.
Constructors
XhtmlCellModel(GridModel)
Initializes a new instance of the XhtmlCellModel class.
Declaration
public XhtmlCellModel(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.
XhtmlCellModel(SerializationInfo, StreamingContext)
Initializes a new instance of the XhtmlCellModel from a serialization stream.
Declaration
protected XhtmlCellModel(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 cell renderer.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The grid control. |
Returns
Type | Description |
---|---|
GridCellRendererBase | Cell renderer. |