BarOptions.UseWholeRow Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


public virtual bool UseWholeRow { get; set; }

Property Value

Type Default Description


true if the bar occupies the entire container’s width; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to UseWholeRow


If the UseWholeRow property is set to true, the bar occupies the entire container’s width so that no other bars can be docked to the same bar row.

If this property is false, you can freely move the bar along the bar row and also dock other bars next to the current bar.

The following screenshot shows several bars. For the main menu, status bar and Format bar, UseWholeRow is set to true. For the Standard tool bar, the property is set to false.


See Also