Skip to content

ContextMenu.MaxMenuHeight property

Gets or sets an upper bound on the menu height; the default is no bound.

public double MaxMenuHeight { get; set; }

The menu is never taller than the room on the side it opens toward, and scrolls beyond either limit.

Fluent: .MaxMenuHeight(Double)