Skip to main content

NavBarControl.NavDragDrop Event

Fires immediately after a link has been dropped.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

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

Declaration

public event NavBarDragDropEventHandler NavDragDrop

Event Data

The NavDragDrop event's data class is NavBarDragDropEventArgs. The following properties provide information specific to this event:

Property Description
AllowedEffect Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event. Inherited from DragEventArgs.
Data Gets the IDataObject that contains the data associated with this event. Inherited from DragEventArgs.
Effect Gets or sets the target drop effect in a drag-and-drop operation. Inherited from DragEventArgs.
Group Gets a group into which a dragged item is about to be or has been dropped.
InsertPosition Gets the position within the group to which the link is about to be or has been dropped.
KeyState Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. Inherited from DragEventArgs.
X Gets the x-coordinate of the mouse pointer, in screen coordinates. Inherited from DragEventArgs.
Y Gets the y-coordinate of the mouse pointer, in screen coordinates. Inherited from DragEventArgs.

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