Class TwBlazorSpacing
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
Global configuration for spacing utility classes (gap, padding, and margin presets) shared by all components.
[ExcludeFromCodeCoverage]
public class TwBlazorSpacing
- Inheritance
-
TwBlazorSpacing
- Inherited Members
Constructors
TwBlazorSpacing()
public TwBlazorSpacing()
Properties
Gap
Gets or sets the gap scale used between flex/grid children. See TwBlazorGapScale.
public TwBlazorGapScale Gap { get; set; }
Property Value
InteractiveRowPadding
Gets or sets the padding preset used for interactive list/menu rows.
public string InteractiveRowPadding { get; set; }
Property Value
Margin
Gets or sets the margin presets used by container-style components.
public TwBlazorSpacingScale Margin { get; set; }
Property Value
MarginBottom
Gets or sets the bottom-margin scale (Tailwind's "mb-*"). See TwBlazorGapScale.
public TwBlazorGapScale MarginBottom { get; set; }
Property Value
MarginEnd
Gets or sets the margin-end scale (Tailwind's "me-*"). See TwBlazorGapScale.
public TwBlazorGapScale MarginEnd { get; set; }
Property Value
MarginStart
Gets or sets the margin-start scale (Tailwind's "ms-*"). See TwBlazorGapScale.
public TwBlazorGapScale MarginStart { get; set; }
Property Value
MarginTop
Gets or sets the top-margin scale (Tailwind's "mt-*"). See TwBlazorGapScale.
public TwBlazorGapScale MarginTop { get; set; }
Property Value
Padding
Gets or sets the padding presets used by container-style components.
public TwBlazorSpacingScale Padding { get; set; }
Property Value
PaddingStart
Gets or sets the start-padding scale (Tailwind's "ps-*"), e.g. for clearing a leading icon. See TwBlazorGapScale.
public TwBlazorGapScale PaddingStart { get; set; }
Property Value
PaddingTop
Gets or sets the top-padding scale (Tailwind's "pt-*"). See TwBlazorGapScale.
public TwBlazorGapScale PaddingTop { get; set; }
Property Value
PushEnd
Gets or sets the "ml-auto" class used to push an element to the end of its flex row.
public string PushEnd { get; set; }