Class GridQueryOleDataSourceDataEventArgs
Provides data about the QueryOleDataSourceData event.
Inheritance
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridQueryOleDataSourceDataEventArgs : SyncfusionHandledEventArgs
Remarks
GridQueryOleDataSourceDataEventArgs is a custom event argument class used by the QueryOleDataSourceData even when a user starts dragging a range of selected cells using OLE drag-and-drop.
This event lets you supply your own clipboard formats or add support for pasting additional clipboard content.
Constructors
GridQueryOleDataSourceDataEventArgs(IDataObject, GridRangeInfoList, GridDragDropFlags, Int32, Int32)
Initalizes a new object.
Declaration
public GridQueryOleDataSourceDataEventArgs(IDataObject dataObject, GridRangeInfoList rangeList, GridDragDropFlags dragDropFlags, int rowCount, int colCount)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.IDataObject | dataObject | The data object where data for the OLE drag operation is stored. |
GridRangeInfoList | rangeList | You can save here a list of ranges that have been copied. This property will only be checked for the Copy operation. Can be NULL. |
GridDragDropFlags | dragDropFlags | Lets you specify default behavior, e.g. if styles or text should be supplied, if row or column headers should be ignored. |
System.Int32 | rowCount | The number of rows that have been copied into the dataobject. Set this value if you modified the DataObject. |
System.Int32 | colCount | The number of columns that have been copied into the dataobject. Set this value if you modified the DataObject. |
Properties
ColCount
Declaration
public int ColCount { get; set; }
Property Value
Type |
---|
System.Int32 |
DataObject
Gets the data object where data for the OLE drag operation are stored.
Declaration
public IDataObject DataObject { get; }
Property Value
Type |
---|
System.Windows.IDataObject |
DragDropFlags
Gets or sets the behaviour. Lets you specify default behavior, e.g. if styles or text should be supplied, if row or column headers should be ignored.
Declaration
[TraceProperty(true)]
public GridDragDropFlags DragDropFlags { get; set; }
Property Value
Type |
---|
GridDragDropFlags |
IgnoreCurrentCell
Gets or sets a value indicating whether to ignore the current cell. This property will only be checked by the calling method if you do not set Handled to True.
Declaration
[TraceProperty(true)]
public bool IgnoreCurrentCell { get; set; }
Property Value
Type |
---|
System.Boolean |
RangeList
Gets or sets the range list. You can save here a list of ranges that have been copied. This property will only be checked for the Copy operation. Can be NULL.
Declaration
[TraceProperty(true)]
public GridRangeInfoList RangeList { get; set; }
Property Value
Type |
---|
GridRangeInfoList |
Result
Gets or sets a value indicating whether the return value the called method should return when you set Handled to True.
Declaration
[TraceProperty(true)]
public bool Result { get; set; }
Property Value
Type |
---|
System.Boolean |
RowCount
Declaration
public int RowCount { get; set; }
Property Value
Type |
---|
System.Int32 |