windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-0dc9687f.md
Contains settings related to user drag-and-drop operations.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DXCategory("Options")]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden, XtraSerializationFlags.DefaultValue)]
public GridOptionsDragDrop OptionsDragDrop { get; }
<DXCategory("Options")>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property OptionsDragDrop As GridOptionsDragDrop
| Type | Description |
|---|---|
| GridOptionsDragDrop |
An object that stores properties that manage drag-and-drop operations.
|
The GridView supports the following drag-and-drop operations:
GridView (supported data sources: IList, DataTable, DataView).Note
Attach the Drag-and-Drop Behavior to the GridView to allow users to reorder and move data rows using drag and drop.
Use the GridView.OptionsDragDrop property to configure drag-and-drop operations that users can perform within the GridView.
Options include:
AllowDataReorderingAllows the user to reorder data rows within the GridView. Users can also move selected rows from one group to another.AllowSortedDataDragDropAllows the user to reorder data rows within the GridView if data sorting is applied. The option has no effect if the sorted column is read-only.
Read the following topic for additional information: Drag-and-Drop Grid Rows.
See Also