Back to Devexpress

NavBarGroup.GetDragDropFlags() Method

windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-9d48d063.md

latest2.4 KB
Original Source

NavBarGroup.GetDragDropFlags() Method

Returns a set of flags which unambiguously specify the group’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 group’s drag-and-drop behavior.

|

Remarks

To specify drag and drop options for a group, you can use the NavBarGroup.DragDropFlags property. This property represents a set of flags which indicate whether links can be dragged from this group, dropped onto the group and, whether drag and drop is enabled. However, if this property contains the NavBarDragDrop.Default option, drag and drop settings are determined by the control’s NavBarControl.DragDropFlags property.

Use the GetDragDropFlags method to return the actual drag and drop options for the current group. If the NavBarDragDrop.Default option is enabled, the GetDragDropFlags method returns the control’s NavBarControl.DragDropFlags property value. Otherwise, it returns the NavBarGroup.DragDropFlags settings.

See Also

NavBarGroup.DragDropFlags

NavBarControl.DragDropFlags

NavBarGroup Class

NavBarGroup Members

DevExpress.XtraNavBar Namespace