Skip to main content
A newer version of this page is available. .

WindowsUIButtonPanel.WrapButtons Property

Gets or sets whether button wrapping is enabled for the current WindowsUIButtonPanel.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Layout")]
public bool WrapButtons { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if button wrapping is enabled for the current WindowsUIButtonPanel; otherwise, false.

Remarks

By default, all WindowsUIButtons within a WindowsUIButtonPanel are arranged in a single column or row depending on the WindowsUIButtonPanel.Orientation property value. If there’s not enough space to display all Buttons in a column/row, they automatically separate into multiple columns/rows (see the figure below):

Windows8UIButtonsPanel AllowButtonWrap

Use the WrapButtons property to enable or disable this behavior.

See Also