Back to Devexpress

NavBarControl.NavDragDrop Event

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-baec0828.md

latest4.2 KB
Original Source

NavBarControl.NavDragDrop Event

Fires immediately after a link has been dropped.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public event NavBarDragDropEventHandler NavDragDrop
vb
Public Event NavDragDrop As NavBarDragDropEventHandler

Event Data

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

PropertyDescription
AllowedEffectGets which drag-and-drop operations are allowed by the originator (or source) of the drag event. Inherited from DragEventArgs.
DataGets the IDataObject that contains the data associated with this event. Inherited from DragEventArgs.
EffectGets or sets the target drop effect in a drag-and-drop operation. Inherited from DragEventArgs.
GroupGets a group into which a dragged item is about to be or has been dropped.
InsertPositionGets the position within the group to which the link is about to be or has been dropped.
KeyStateGets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. Inherited from DragEventArgs.
XGets the x-coordinate of the mouse pointer, in screen coordinates. Inherited from DragEventArgs.
YGets 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

NavDragOver

NavBarControl.DragDropFlags

NavBarGroup.DragDropFlags

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace