Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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