Back to Devexpress

WindowsUIButtonPanel.WrapButtons Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-1de3e440.md

latest2.3 KB
Original Source

WindowsUIButtonPanel.WrapButtons Property

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

Namespace : DevExpress.XtraBars.Docking2010

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Layout")]
public bool WrapButtons { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Layout")>
Public Property WrapButtons As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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):

Use the WrapButtons property to enable or disable this behavior.

See Also

Orientation

WindowsUIButtonPanel Class

WindowsUIButtonPanel Members

DevExpress.XtraBars.Docking2010 Namespace