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.1.dll
NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation
Declaration
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.