API Reference
Interface
ISpaceable`1
Interface for elements that support margin and padding configuration.
Type Parameters
- T
- The type of element implementing this interface.
Methods
public abstract T WithMargin(String margin) #Returns:
TSets the margin for the element.
Parameters
- margin System.String
- The margin value (e.g., "12px", "0 0 12px 0").
Returns
The element instance for method chaining.
public abstract T WithPadding(String padding) #Returns:
TSets the padding for the element.
Parameters
- padding System.String
- The padding value (e.g., "16px", "8px 16px").
Returns
The element instance for method chaining.