Skip to main content

NavBarControl.GetDragDropFlags() Method

Returns a set of flags which specify the control’s drag and drop behavior.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public virtual NavBarDragDrop GetDragDropFlags()

Returns

Type Description
NavBarDragDrop

A set of NavBarDragDrop enumeration values specifying the control’s drag and drop behavior.

Remarks

The GetDragDropFlags method returns the default drag and drop settings exposed by the NavBarControl. These settings can be changed via the NavBarControl.DragDropFlags property. If the NavBarControl.DragDropFlags property contains the NavBarDragDrop.Default flag, all the other flags are ignored. In this case, the default drag and drop behavior will be as if the NavBarDragDrop.AllowDrag and NavBarDragDrop.AllowDrop flags are set. The GetDragDropFlags function will return the combination of these flags.

If the NavBarControl.DragDropFlags property does not contain the NavBarDragDrop.Default option, the drag and drop behavior will be determined by the NavBarControl.DragDropFlags settings and the GetDragDropFlags method will return its value.

For each group you can override the default drag and drop behavior via its NavBarGroup.DragDropFlags property.

See Also