BarAndDockingController.DragCursors Property
Gets an array of cursors that can be used for drag operations on links.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
ArrayList | An ArrayList of Cursor objects. |
Remarks
If a bar’s BarOptions.DisableCustomization property is set to false, an end-user can customize links within the bar (move and copy between bars, add from the Customization Window, resize edit links) using drag-and-drop operations. This functionality is enabled if the Customization Window is opened or if the ALT key is pressed while dragging links.
The DragCursors property specifies an array of cursors for different states of drag-and-drop operations. The default images are presented in the following table. You can replace any image if the default one does not suit your needs.
Element Index | Image | Description |
---|---|---|
0 | Indicates that the link being dragged can be dropped at the current position | |
1 | Indicates that a copy of the link will be created if it is dropped at the current position. The user can press the CTRL key while dragging links to copy them instead of moving them to a new position. | |
2 | Indicates that the link cannot be dropped. | |
3 | Indicates that the link can be resized. |