alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    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
    System.Object
    GridDataObjectConsumerOptions
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved