Skip to main content

Bar.ShowDragWidget Property

Gets or sets whether a drag widget is displayed at the left of the bar, allowing the bar to be dragged using the mouse. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[XtraSerializableProperty]
public bool ShowDragWidget { get; set; }

#Property Value

Type Description
Boolean

true if a drag widget is displayed at the left of the bar; otherwise, false.

#Remarks

Set the ShowDragWidget property to false to prevent the bar from being dragged. By default, when a bar is docked, it displays the drag widget at the bar's left edge, which allows the end-user to drag the bar. Setting the ShowDragWidget property to false hides the drag widget.

If the Bar.AllowCollapse property is set to true, double-clicking the drag widget collapses the bar.

See Also