Skip to content

FrameworkElementMarkupExtensions.MaxWidth<T> method

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

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

The same element for chaining.

Sets: FrameworkElement.MaxWidth