ToolBarControl.ShowDragWidget Property
Gets or sets whether the drag widget is displayed at the left of the ToolBarControl, allowing it to be dragged using the mouse. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the drag widget is displayed; otherwise, false. The default is true. |
Remarks
By default, when the ToolBarControl is docked, it displays the drag widget at the left edge, which allows an end-user to drag the ToolBarControl. See the figure below.
If the ToolBarControl.AllowCollapse property is set to true, double clicking the drag widget also collapses the ToolBarControl. Set the ToolBarControl property to false to hide the drag widget and prevent the ToolBarControl from being dragged and collapsed by an end-user.
Note
Drag widgets are only supported if bars are placed inside a BarContainerControl. Follow this topic to learn more about BarContainerControl.