Class GridCardCaptionCellModel
Implements the data or model part of a card caption cell.
Inheritance
System.Object
GridCardCaptionCellModel
Implements
System.Runtime.Serialization.ISerializable
System.IDisposable
Inherited Members
GridCellModelBase.CalculatePreferredCellSize(Graphics, Int32, Int32, GridStyleInfo, GridQueryBounds)
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.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridCardCaptionCellModel : GridPushButtonCellModel, ISerializable, IDisposable
Constructors
GridCardCaptionCellModel(GridModel, GridCardView)
Initializes a new instance of the GridCardCaptionCellModel class.
Declaration
public GridCardCaptionCellModel(GridModel grid, GridCardView card)
Parameters
Type | Name | Description |
---|---|---|
GridModel | grid | The Syncfusion.Windows.Forms.Grid.GridModel for this cell model. |
GridCardView | card | The Syncfusion.Windows.Forms.GridCardView for this cell model. |
GridCardCaptionCellModel(SerializationInfo, StreamingContext)
Initializes a new instance of the GridCardCaptionCellModel class.
Declaration
protected GridCardCaptionCellModel(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 renderer for this cell model.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The grid control. |
Returns
Type | Description |
---|---|
GridCellRendererBase |
Overrides
Implements
System.Runtime.Serialization.ISerializable
System.IDisposable