Skip to main content

WindowsUIButtonPanel.WrapButtons Property

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

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