Class TwMaxWidthScale
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
The maximum width classes, one for each ContainerSize.
public class TwMaxWidthScale
- Inheritance
-
TwMaxWidthScale
- Inherited Members
Constructors
TwMaxWidthScale()
public TwMaxWidthScale()
Properties
Full
Gets or sets the max-w-full class.
public string Full { get; set; }
Property Value
Lg
Gets or sets the max-w-lg class.
public string Lg { get; set; }
Property Value
Md
Gets or sets the max-w-md class.
public string Md { get; set; }
Property Value
None
Gets or sets the max-w-none class.
public string None { get; set; }
Property Value
Prose
Gets or sets the max-w-prose class.
public string Prose { get; set; }
Property Value
Sm
Gets or sets the max-w-sm class.
public string Sm { get; set; }
Property Value
Xl
Gets or sets the max-w-xl class.
public string Xl { get; set; }
Property Value
Xl2
Gets or sets the max-w-2xl class.
public string Xl2 { get; set; }
Property Value
Xl3
Gets or sets the max-w-3xl class.
public string Xl3 { get; set; }
Property Value
Xl4
Gets or sets the max-w-4xl class.
public string Xl4 { get; set; }
Property Value
Xl5
Gets or sets the max-w-5xl class.
public string Xl5 { get; set; }
Property Value
Xl6
Gets or sets the max-w-6xl class.
public string Xl6 { get; set; }
Property Value
Xl7
Gets or sets the max-w-7xl class.
public string Xl7 { get; set; }
Property Value
Xs
Gets or sets the max-w-xs class.
public string Xs { get; set; }
Property Value
Methods
Get(ContainerSize)
Gets the class for a size.
public string Get(ContainerSize size)
Parameters
sizeContainerSizeThe size.
Returns
- string
The class, or an empty string when none is set.