콘텐츠로 이동

ElementExtensions.Size<T> method (1 of 2)

이 콘텐츠는 아직 번역되지 않았습니다.

Sets the size uniformly.

public static T Size<T>(this T element, double size)
where T : FrameworkElement
parameter description
T Visual type.
element Target element.
size Size value.

The element for chaining.

Sets: FrameworkElement.Height, FrameworkElement.Width


Sets the size.

public static T Size<T>(this T element, double width, double height)
where T : FrameworkElement
parameter description
T Visual type.
element Target element.
width Width value.
height Height value.

The element for chaining.