Skip to content

FrameworkElementMarkupExtensions.Width<T> method

Sets the explicit width; NaN means automatic sizing.

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

The same element for chaining.

Sets: FrameworkElement.Width