NavBarControl.NavDragDrop Event
In This Article
Fires immediately after a link has been dropped.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.2.dll
NuGet Package: DevExpress.Win
#Declaration
#Event Data
The NavDragDrop event's data class is NavBarDragDropEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Allowed |
Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Inherited from Drag |
Data |
Gets the IData |
Effect |
Gets or sets the target drop effect in a drag-and-drop operation.
Inherited from Drag |
Group | Gets a group into which a dragged item is about to be or has been dropped. |
Insert |
Gets the position within the group to which the link is about to be or has been dropped. |
Key |
Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
Inherited from Drag |
X |
Gets the x-coordinate of the mouse pointer, in screen coordinates.
Inherited from Drag |
Y |
Gets the y-coordinate of the mouse pointer, in screen coordinates.
Inherited from Drag |
#Remarks
The NavBarControl allows end-users to perform link drag and drop operations. Write a NavDragDrop event handler to perform specific actions each time a link has been dropped.
Use the NavBarControl.DragDropFlags and NavBarGroup.DragDropFlags properties to control the component’s behavior as it relates to link drag and drop operations.
See Also