Class ButtonEditCellModel
Implements the data model part for a ButtonEdit cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class ButtonEditCellModel : GridTextBoxCellModel, ISerializable, IDisposable
Constructors
ButtonEditCellModel(GridModel)
Initializes a new instance of the ButtonEditCellModel class and stores a reference to the GridModel this cell belongs to.
Declaration
public ButtonEditCellModel(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.
ButtonEditCellModel(SerializationInfo, StreamingContext)
Initializes a new instance of the ButtonEditCellModel class from a serialization stream.
Declaration
protected ButtonEditCellModel(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 cell renderer.
Declaration
public override GridCellRendererBase CreateRenderer(GridControlBase control)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | control | The Grid control to add cell model. |
Returns
Type | Description |
---|---|
GridCellRendererBase | A Cell renderer. |
Overrides
RaiseDrawButtonFace(GridDrawButtonFaceEventArgs)
Raises the GridDrawButtonFace event
Declaration
public void RaiseDrawButtonFace(GridDrawButtonFaceEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridDrawButtonFaceEventArgs | e | The GridDrawButtonFaceEventArgs that contains the event data. |
Events
GridDrawButtonFace
Occurs before the Grid draws the ButtonEdit face.
Declaration
public event ButtonEditCellModel.GridDrawButtonFaceEventHandler GridDrawButtonFace
Event Type
Type |
---|
ButtonEditCellModel.GridDrawButtonFaceEventHandler |
Remarks
See ButtonEditCellModel.GridDrawButtonFaceEventHandler for more detailed discussion about this event.