Skip to content

ContextMenuMarkupExtensions.MaxMenuHeight method

Sets an upper bound on the menu height; the default is no bound.

public static ContextMenu MaxMenuHeight(this ContextMenu target, double value)
parameter description
target Target ContextMenu.
value Value assigned to MaxMenuHeight.

The same element for chaining.

Sets: ContextMenu.MaxMenuHeight