Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarGroup.GetDragDropFlags() Method

Returns a set of flags which unambiguously specify the group’s drag-and-drop behavior.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public virtual NavBarDragDrop GetDragDropFlags()

#Returns

Type Description
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