NavBarItem.CanDrag Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool CanDrag { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property CanDrag As Boolean

Property Value

Type Default Description
Boolean

true

true if an item can be dragged; otherwise false.

Remarks

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