Back to Devexpress

IStackGroupProperties.AllowDragging Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-istackgroupproperties.md

latest3.3 KB
Original Source

IStackGroupProperties.AllowDragging Property

Gets or sets whether any StackGroup within this WidgetView can be dragged at runtime.

Namespace : DevExpress.XtraBars.Docking2010.Views.Widget

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool AllowDragging { get; set; }
vb
Property AllowDragging As Boolean

Property Value

TypeDescription
Boolean

true if any StackGroups within this WidgetView can be dragged at runtime; otherwise, false.

|

Remarks

The AllowDragging property value affects all StackGroups whose IStackGroupDefaultProperties.AllowDragging property equals DefaultBoolean.Default. Otherwise, the IStackGroupDefaultProperties.AllowDragging has a higher priority and overrides the global AllowDragging property 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

AllowDragging

Caption

BeginStackGroupDragging

EndStackGroupDragging

Widget View

IStackGroupProperties Interface

IStackGroupProperties Members

DevExpress.XtraBars.Docking2010.Views.Widget Namespace