Back to Devexpress

PopupMenuBase.StretchRows Property

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

latest2.0 KB
Original Source

PopupMenuBase.StretchRows Property

Gets or sets if BarItemLink rows within a popup should be stretched to achieve an equal height. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool StretchRows { get; set; }
vb
Public Property StretchRows As Boolean

Property Value

TypeDescription
Boolean

true if BarItemLink rows within a popup should be stretched to achieve an equal height; otherwise, false.

|

Remarks

BarItemLinks used within a popup can have different height values. Since popup links can be arranged in multiple columns (see the PopupMenuBase.MaxRowCount, PopupMenuBase.MaxColumnHeight and PopupMenuBase.MultiColumn properties), this may cause visual shortcomings when links with different heights are located in a same row. To make all links within a row stretch to the same height, set the StretchRows property to true.

See Also

MaxRowCount

MaxColumnHeight

MultiColumn

PopupMenuBase Class

PopupMenuBase Members

DevExpress.Xpf.Bars Namespace