Skip to content

DesignExtensions.DesignWidth<T> method

Sets the preferred preview width for this element. A no-op outside preview sessions.

public static T DesignWidth<T>(this T element, double width)
where T : FrameworkElement
parameter description
T Element type.
element Target element.
width Preview width in DIPs.

The element for chaining.