GridView.IsDraggingState Property
Tests whether the end-user is currently dragging a column header.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true if a dragging operation is being performed within the view; otherwise, false. |
#Remarks
Use the IsDraggingState property to determine whether a column header is being dragged at the moment. This can be used to determine whether particular custom actions are currently allowed. For instance, you can suspend or cancel your custom actions while a View element is being dragged.
Note that you can also handle the GridView.DragObjectStart, GridView.DragObjectOver and GridView.DragObjectDrop events to control dragging operations within the View.
Banded Grid Views override this property to support band header dragging (see the BandedGridView.IsDraggingState property description). The action currently being performed can be determined using the View’s GridView.State property (the BandedGridView.State property for Banded Grid Views).
Note
Detail pattern Views do not contain data and they are never displayed within Xtra
- Grid
Control. - returns the top most View in a grid;Main View - Grid
Control. - returns the focused View;Focused View - Grid
Control. - returns the currently maximized View;Default View - the sender parameter of View specific events;
- Grid
View. - returns a detail clone View for a specific master row.Get Detail View