NavBarDragDropEventArgs(NavBarGroup, Int32, IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects) Constructor
Creates an instance of the NavBarDragDropEventArgs class.
Namespace: DevExpress.XtraNavBar.ViewInfo
Assembly: DevExpress.XtraNavBar.v24.2.dll
NuGet Package: DevExpress.Win
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
group | Nav |
A Nav |
insert |
Int32 | An integer value specifying the zero-based index of the group link, before which the dragged link is about to be or has been dropped. |
data | IData |
An object supporting the IData |
key |
Int32 | An integer value indicating the current state of the SHIFT, CTRL, and ALT keys. |
x | Int32 | An integer value specifying the x-coordinate of the mouse cursor in pixels. |
y | Int32 | An integer value specifying the y-coordinate of the mouse cursor in pixels. |
allowed |
Drag |
One of the Drag |
effect | Drag |
One of the Drag |
#Remarks
The constructor initializes properties with values transmitted as parameters.
NavBarDragDropEventArgs objects are not designed to be created directly from your code. An instance of this class is created automatically each time the NavBarControl.NavDragDrop or NavBarControl.NavDragOver event fires.