Back to Devexpress

BarOptions.UseWholeRow Property

windowsforms-devexpress-dot-xtrabars-dot-baroptions-045aa1a1.md

latest2.1 KB
Original Source

BarOptions.UseWholeRow Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool UseWholeRow { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(False)>
Public Overridable Property UseWholeRow As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath to UseWholeRow
Bar

.OptionsBar .UseWholeRow

|

Remarks

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

MultiLine

BarOptions Class

BarOptions Members

DevExpress.XtraBars Namespace