Back to Devexpress

GridOptionsDragDrop.AllowDataReordering Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsdragdrop.md

latest2.3 KB
Original Source

GridOptionsDragDrop.AllowDataReordering Property

Gets or sets a value that specifies whether the user can reorder data rows within the GridView.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowDataReordering { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowDataReordering As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to allow the user to reorder data rows; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowDataReordering
GridView

.OptionsDragDrop .AllowDataReordering

|

Remarks

Attach the Drag-and-Drop Behavior to the GridView to allow users to reorder and move data rows using drag and drop.

See Also

Drag-and-Drop Grid Rows

AllowSortedDataDragDrop

GridOptionsDragDrop Class

GridOptionsDragDrop Members

DevExpress.XtraGrid.Views.Grid Namespace