Skip to main content

IStackGroupDefaultProperties.AllowDragging Property

Gets or sets whether an end-user can drag this StackGroup at runtime.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

DefaultBoolean AllowDragging { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumerator value that specifies whether an end-user can drag this StackGroup at runtime.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

The AllowDragging property specifies whether this stack group can be dragged at runtime and overrides the identical IStackGroupProperties.AllowDragging property that affects all stack groups within this WidgetView. If the AllowDragging property equals DefaultBoolean.Default, the group’s drag behavior is specified according to the global view setting.

Stack groups are dragged by dragging their captions (the StackGroup.Caption property). Group dragging raises the WidgetView.BeginStackGroupDragging and WidgetView.EndStackGroupDragging events that allow you to identify the dragged group and its final location, and if needed, cancel the drag operation.

See Also