콘텐츠로 이동

ElementExtensions.Padding<T> method (1 of 3)

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

Sets the padding uniformly.

public static T Padding<T>(this T element, double uniform)
where T : Control
parameter description
T Visual type.
element Target element.
uniform Uniform padding value.

The element for chaining.

Sets: Control.Padding


ElementExtensions.Padding<T> method (2 of 3)

Section titled “ElementExtensions.Padding<T> method (2 of 3)”

Sets the padding with horizontal and vertical values.

public static T Padding<T>(this T element, double horizontal, double vertical)
where T : Control
parameter description
T Visual type.
element Target element.
horizontal Horizontal padding.
vertical Vertical padding.

The element for chaining.


ElementExtensions.Padding<T> method (3 of 3)

Section titled “ElementExtensions.Padding<T> method (3 of 3)”

Sets the padding with individual values.

public static T Padding<T>(this T element, double left, double top, double right, double bottom)
where T : Control
parameter description
T Visual type.
element Target element.
left Left padding.
top Top padding.
right Right padding.
bottom Bottom padding.

The element for chaining.