Class GridDataObjectConsumerOptions
Defines which default data consumers should be enabled for the grid.
This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
Inheritance
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridDataObjectConsumerOptions : Enum
Remarks
You can customize the mouse controller's behavior at run-time while the user is performing the action by creating an object that implements IGridDataObjectConsumer and register this object with RegisterDataObjectConsumer(IGridDataObjectConsumer). This allows you to add support for additional clipboard formats to be dragged into the grid from outside applications.
You can change various options with EnableOleDropTarget().
When you change ControllerOptions in GridModelOptions, this will actually end up calling EnableOleDropTarget() for each associated view.
Fields
All
Enable support for all default data objects.
Declaration
public const GridDataObjectConsumerOptions All
Field Value
| Type |
|---|
| GridDataObjectConsumerOptions |
None
No default data objects supported.
Declaration
public const GridDataObjectConsumerOptions None
Field Value
| Type |
|---|
| GridDataObjectConsumerOptions |
Styles
Enable styles (internal) data objects. This allows you to drag / copy / paste complete cell information.
Declaration
public const GridDataObjectConsumerOptions Styles
Field Value
| Type |
|---|
| GridDataObjectConsumerOptions |
Text
Enable text data format. This allows you to drag cell values.
Declaration
public const GridDataObjectConsumerOptions Text
Field Value
| Type |
|---|
| GridDataObjectConsumerOptions |