Skip to main content
Bar

ToolBarControl.UseWholeRow Property

Gets or sets whether the ToolBarControl is stretched to match the container’s width.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool UseWholeRow { get; set; }

Property Value

Type Description
Boolean

true, if the ToolBarControl is stretched to match the container’s width; otherwise, false.

Remarks

By default, when the UseWholeRow property equals false, an end-user can freely move the ToolBarControl along the bar row using the drag widget (see ToolBarControl.ShowDragWidget) and dock other ToolBarControls next to the current ToolBarControl. If the UseWholeRow property is set to true, the ToolBarControl occupies the entire container’s width so that no other ToolBarControls can be docked to the same bar row.

Note

If the ToolBarControl occupies the entire bar row, it cannot be collapsed (see ToolBarControl.AllowCollapse).

See Also