menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDragDropFlags - API Reference

    Show / Hide Table of Contents

    Class GridDragDropFlags

    Defines the Drag-and-drop options used with EnableOleDropTarget(), EnableOleDataSource(), and GridModelCutPaste.

    Inheritance
    System.Object
    GridDragDropFlags
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridDragDropFlags

    Fields

    AutoScroll

    Enable autoscroll when user drags out of windows.

    Declaration
    public const int AutoScroll = 64
    Field Value
    Type Description
    System.Int32

    ColHeader

    Also copy / move column header cells.

    Declaration
    public const int ColHeader = 1
    Field Value
    Type Description
    System.Int32

    Compose

    When copying internal styles, compose the full style of the cell and do not copy only the cell specific attributes.

    Declaration
    public const int Compose = 32
    Field Value
    Type Description
    System.Int32

    Disabled

    Disable drop target.

    Declaration
    public const int Disabled = 0
    Field Value
    Type Description
    System.Int32

    EdgeScroll

    Enable edgescroll when user drags to the corner of the window.

    Declaration
    public const int EdgeScroll = 128
    Field Value
    Type Description
    System.Int32

    EgdeScroll

    Used internally.

    Declaration
    public const int EgdeScroll = 128
    Field Value
    Type Description
    System.Int32

    Multiple

    Allow dragging multiple selections.

    Declaration
    public const int Multiple = 4
    Field Value
    Type Description
    System.Int32

    NoAppendCols

    If the user pastes (or drops) more columns than currently available, don't append as many columns as needed.

    Declaration
    public const int NoAppendCols = 1024
    Field Value
    Type Description
    System.Int32

    NoAppendRows

    If the user pastes (or drops) more rows than currently available, don't append as many rows as needed.

    Declaration
    public const int NoAppendRows = 512
    Field Value
    Type Description
    System.Int32

    OutlineAppendCols

    By default if the user drags multiple columns to the right of the grid in an ole drag operation the outlined rectangle will be clipped at the right of the current available columns. If you specify this option the new columns will be outlined below the last visible column.

    Declaration
    public const int OutlineAppendCols = 4096
    Field Value
    Type Description
    System.Int32

    OutlineAppendRows

    By default if the user drags multiple rows to the bottom of the grid in an ole drag operation the outlined rectangle will be clipped at the bottom of the current available rows. If you specify this option the new rows will be outlined below the last visible row.

    Declaration
    public const int OutlineAppendRows = 2048
    Field Value
    Type Description
    System.Int32

    RowHeader

    Also copy / move row header cells.

    Declaration
    public const int RowHeader = 2
    Field Value
    Type Description
    System.Int32

    Styles

    Force dragging of internal styles format.

    Declaration
    public const int Styles = 16
    Field Value
    Type Description
    System.Int32

    Text

    Force dragging of CF_TEXT clipboard format.

    Declaration
    public const int Text = 8
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved