Class GridDataBoundGridModel
This is the GridDataBoundGridModel class that holds all data information about a GridDataBoundGrid.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridDataBoundGridModel : GridModel, IGridVolatileDataContainer, IOperationFeedbackProvider, ICreateControl, IGridModelSource, ISerializable, IDisposable, IDeserializationCallback
Constructors
GridDataBoundGridModel()
Initializes a new instance of GridDataBoundGridModel.
Declaration
public GridDataBoundGridModel()
GridDataBoundGridModel(SerializationInfo, StreamingContext)
Initializes a new GridDataBoundGridModel from a serialization stream.
Declaration
protected GridDataBoundGridModel(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or deserialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
GridDataBoundGridModel(Type)
Initializes a new instance of GridDataBoundGridModel.
Declaration
public GridDataBoundGridModel(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Type information. |
Properties
Binder
Gets or sets reference to the GridModelDataBinder that manages the underlying datasource.
Declaration
public GridModelDataBinder Binder { get; set; }
Property Value
Type |
---|
GridModelDataBinder |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Implements the ISerializable interface and returns the data needed to serialize the cell model.
Declaration
protected override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | A SerializationInfo object containing the information required to serialize the cell model. |
System.Runtime.Serialization.StreamingContext | context | A StreamingContext object containing the source and destination of the serialized stream. |
Overrides
OnBinderChanged(EventArgs)
Raises the BinderChanged event.
Declaration
protected virtual void OnBinderChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | A System.EventArgs that contains the event data. |
OnClearingCells(GridClearingCellsEventArgs)
Raises the ClearingCells event.
Declaration
protected override void OnClearingCells(GridClearingCellsEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridClearingCellsEventArgs | e | A GridClearingCellsEventArgs that contains the event data. |
Overrides
OnClipboardCanCopy(GridCutPasteEventArgs)
Raises the ClipboardCanCopy event.
Declaration
protected override void OnClipboardCanCopy(GridCutPasteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | e | A GridCutPasteEventArgs that contains the event data. |
Overrides
OnClipboardCanCut(GridCutPasteEventArgs)
Raises the ClipboardCanCut event.
Declaration
protected override void OnClipboardCanCut(GridCutPasteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | e | A GridCutPasteEventArgs that contains the event data. |
Overrides
OnClipboardCanPaste(GridCutPasteEventArgs)
Raises the ClipboardCanPaste event.
Declaration
protected override void OnClipboardCanPaste(GridCutPasteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | e | A GridCutPasteEventArgs that contains the event data. |
Overrides
OnClipboardCopy(GridCutPasteEventArgs)
Raises the ClipboardCopy event.
Declaration
protected override void OnClipboardCopy(GridCutPasteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | e | A GridCutPasteEventArgs that contains the event data. |
Overrides
OnClipboardCut(GridCutPasteEventArgs)
Raises the ClipboardCut event.
Declaration
protected override void OnClipboardCut(GridCutPasteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | e | A GridCutPasteEventArgs that contains the event data. |
Overrides
OnClipboardPaste(GridCutPasteEventArgs)
Raises the ClipboardPaste event.
Declaration
protected override void OnClipboardPaste(GridCutPasteEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridCutPasteEventArgs | e | A GridCutPasteEventArgs that contains the event data. |
Overrides
OnColsMoving(GridRangeMovingEventArgs)
Raises the ColsMoving event.
Declaration
protected override void OnColsMoving(GridRangeMovingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridRangeMovingEventArgs | e | A GridRangeMovingEventArgs that contains the event data. |
Overrides
OnQueryOleDataSourceData(GridQueryOleDataSourceDataEventArgs)
Raises the QueryOleDataSourceData event.
Declaration
protected override void OnQueryOleDataSourceData(GridQueryOleDataSourceDataEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridQueryOleDataSourceDataEventArgs | e | A GridQueryOleDataSourceDataEventArgs that contains the event data. |
Overrides
Events
BinderChanged
Occurs when the Binder has changed.
Declaration
public event EventHandler BinderChanged
Event Type
Type |
---|
System.EventHandler |