Skip to content

FrameworkElementMarkupExtensions.MaxHeight<T> method

Sets the maximum height in DIPs; the default is no bound.

public static T MaxHeight<T>(this T target, double value)
where T : FrameworkElement
parameter description
T Receiver type.
target Target FrameworkElement.
value Value assigned to MaxHeight.

The same element for chaining.

Sets: FrameworkElement.MaxHeight