Skip to main content

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

WindowsUIButtonPanel.WrapButtons Property

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

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.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