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. |
Return Value
Section titled “Return Value”The element for chaining.
Sets: Control.Padding
See Also
Section titled “See Also”- class Control
- class ElementExtensions
- namespace Aprillz.MewUI.Controls
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. |
Return Value
Section titled “Return Value”The element for chaining.
See Also
Section titled “See Also”- class Control
- class ElementExtensions
- namespace Aprillz.MewUI.Controls
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. |
Return Value
Section titled “Return Value”The element for chaining.
See Also
Section titled “See Also”- class Control
- class ElementExtensions
- namespace Aprillz.MewUI.Controls