Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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