Skip to main content
Bar

PopupMenuBase.MultiColumn Property

Gets or sets if BarItemLinks within the current popup should be arranged in multiple columns. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool MultiColumn { get; set; }

Property Value

Type Description
Boolean

true if BarItemLinks within the current popup should be arranged in multiple columns; otherwise, false.

Remarks

By default, all BarItemLinks within a popup are arranged in a single column. If you want to change this behavior, you can use the MultiColumn and PopupMenuBase.MaxColumnHeight properties. The PopupMenuBase.MaxColumnHeight property specifies the maximum height of a column. If the MultiColumn property is set to true, every column will contain as many BarItemLinks as can be held without exceeding the PopupMenuBase.MaxColumnHeight property value.

Alternatively, you can use the PopupMenuBase.MaxRowCount property to set the maximum number of BarItemLinks in a single column. This property has a higher priority than previous ones.

See Also