Back to Devexpress

BarAndDockingController.DragCursors Property

windowsforms-devexpress-dot-xtrabars-dot-baranddockingcontroller-785e02c3.md

latest2.7 KB
Original Source

BarAndDockingController.DragCursors Property

Gets an array of cursors that can be used for drag operations on links.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public virtual ArrayList DragCursors { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property DragCursors As ArrayList

Property Value

TypeDescription
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 IndexImageDescription
0Indicates that the link being dragged can be dropped at the current position
1Indicates 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.
2Indicates that the link cannot be dropped.
3Indicates that the link can be resized.

See Also

DisableCustomization

BarAndDockingController Class

BarAndDockingController Members

DevExpress.XtraBars Namespace