Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace : GridDataObjectConsumerOptions Enumeration

GridDataObjectConsumerOptions Enumeration

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.

Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum GridDataObjectConsumerOptions 
   Inherits System.Enum
'Usage
 
Dim instance As GridDataObjectConsumerOptions
[Flags()]
public enum GridDataObjectConsumerOptions : System.Enum 
Members
MemberDescription
All Enable support for all default data objects.
None No default data objects supported.
Styles Enable styles (internal) data objects. This allows you to drag / copy / paste complete cell information.
Text Enable text data format. This allows you to drag cell values.
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 GridControlBaseImp.RegisterDataObjectConsumer. 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 GridControlBaseImp.EnableOleDropTarget.

When you change GridModelOptions.ControllerOptions in GridModelOptions, this will actually end up calling GridControlBaseImp.EnableOleDropTarget for each associated view.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Syncfusion.Windows.Forms.Grid.GridDataObjectConsumerOptions

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also