NavBarItem.CanDrag Property

Gets or sets a value specifying whether an item can be dragged.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll


public virtual bool CanDrag { get; set; }

Property Value

Type Default Description


true if an item can be dragged; otherwise false.


Basically, the drag and drop behavior of the control is specified by the NavBarControl.DragDropFlags property. However, these settings can be overridden for each group via the group’s NavBarGroup.DragDropFlags property. An item can be dragged only if these settings allow item dragging and the CanDrag property is set to true. If either the control’s or group’s settings prohibit link drag operations, or the item’s CanDrag property value is false, the corresponding link cannot be dragged.

This property settings affect all links which refer to the item.

See Also