Back to Devexpress

NavBarControl.GetDragDropFlags() Method

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-5724f51e.md

latest2.8 KB
Original Source

NavBarControl.GetDragDropFlags() Method

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

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public virtual NavBarDragDrop GetDragDropFlags()
vb
Public Overridable Function GetDragDropFlags As NavBarDragDrop

Returns

TypeDescription
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

NavBarGroup.DragDropFlags

NavBarControl.DragDropFlags

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace