Back to Devexpress

PopupMenuBase.MaxRowCount Property

wpf-devexpress-dot-xpf-dot-bars-dot-popupmenubase.md

latest1.9 KB
Original Source

PopupMenuBase.MaxRowCount Property

Gets or sets the maximum number of BarItemLinks displayed within a single links column in a popup. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public int MaxRowCount { get; set; }
vb
Public Property MaxRowCount As Integer

Property Value

TypeDescription
Int32

An Int32 value that is the maximum number of BarItemLinks displayed within a single links column in a popup.

|

Remarks

By default, BarItemLinks displayed within a popup are arranged in a single column. If you want to display links in multiple columns, use the MaxRowCount property that specifies how many links can be held within a column.

Another approach to arrange links in multiple columns is to use the PopupMenuBase.MultiColumn and PopupMenuBase.MaxColumnHeight properties. It has a lower priority than the MaxRowCount property.

See Also

MultiColumn

MaxColumnHeight

StretchRows

PopupMenuBase Class

PopupMenuBase Members

DevExpress.Xpf.Bars Namespace