Table of Contents

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

string

Lg

Gets or sets the max-w-lg class.

public string Lg { get; set; }

Property Value

string

Md

Gets or sets the max-w-md class.

public string Md { get; set; }

Property Value

string

None

Gets or sets the max-w-none class.

public string None { get; set; }

Property Value

string

Prose

Gets or sets the max-w-prose class.

public string Prose { get; set; }

Property Value

string

Sm

Gets or sets the max-w-sm class.

public string Sm { get; set; }

Property Value

string

Xl

Gets or sets the max-w-xl class.

public string Xl { get; set; }

Property Value

string

Xl2

Gets or sets the max-w-2xl class.

public string Xl2 { get; set; }

Property Value

string

Xl3

Gets or sets the max-w-3xl class.

public string Xl3 { get; set; }

Property Value

string

Xl4

Gets or sets the max-w-4xl class.

public string Xl4 { get; set; }

Property Value

string

Xl5

Gets or sets the max-w-5xl class.

public string Xl5 { get; set; }

Property Value

string

Xl6

Gets or sets the max-w-6xl class.

public string Xl6 { get; set; }

Property Value

string

Xl7

Gets or sets the max-w-7xl class.

public string Xl7 { get; set; }

Property Value

string

Xs

Gets or sets the max-w-xs class.

public string Xs { get; set; }

Property Value

string

Methods

Get(ContainerSize)

Gets the class for a size.

public string Get(ContainerSize size)

Parameters

size ContainerSize

The size.

Returns

string

The class, or an empty string when none is set.