Table of Contents

Class TwBlazorGrid

Namespace
TwBlazor.Configuration
Assembly
TwBlazor.dll

Global configuration for the CSS grid utility classes shared by all components: column and row counts, spans and start lines at every breakpoint, subgrid, auto flow, implicit track sizes and cell alignment.

public class TwBlazorGrid
Inheritance
TwBlazorGrid
Inherited Members

Constructors

TwBlazorGrid()

public TwBlazorGrid()

Properties

AutoCols

Gets or sets the implicit column size classes (auto-cols-*).

public TwGridAutoSizeScale AutoCols { get; set; }

Property Value

TwGridAutoSizeScale

AutoFlow

Gets or sets the auto flow classes (grid-flow-*).

public TwGridAutoFlowScale AutoFlow { get; set; }

Property Value

TwGridAutoFlowScale

AutoRows

Gets or sets the implicit row size classes (auto-rows-*).

public TwGridAutoSizeScale AutoRows { get; set; }

Property Value

TwGridAutoSizeScale

ColSpan

Gets or sets the column spans at every breakpoint (col-span-*), keyed by the number of columns, with Full for col-span-full.

public TwResponsiveScale ColSpan { get; set; }

Property Value

TwResponsiveScale

ColStart

Gets or sets the column start lines at every breakpoint (col-start-*), keyed by the line number.

public TwResponsiveScale ColStart { get; set; }

Property Value

TwResponsiveScale

Cols

Gets or sets the column counts at every breakpoint (grid-cols-*), keyed by the number of columns.

public TwResponsiveScale Cols { get; set; }

Property Value

TwResponsiveScale

ColsSubgrid

Gets or sets the class that makes a nested grid share its parent's columns (grid-cols-subgrid).

public string ColsSubgrid { get; set; }

Property Value

string

JustifyItems

Gets or sets the classes that align every item inside its cell on the row axis (justify-items-*). Uses Start, Center, End and Stretch.

public TwFlexAlignmentScale JustifyItems { get; set; }

Property Value

TwFlexAlignmentScale

JustifySelf

Gets or sets the classes that align one item inside its cell on the row axis (justify-self-*). Uses Start, Center, End and Stretch.

public TwFlexAlignmentScale JustifySelf { get; set; }

Property Value

TwFlexAlignmentScale

RowSpan

Gets or sets the row spans at every breakpoint (row-span-*), keyed by the number of rows, with Full for row-span-full.

public TwResponsiveScale RowSpan { get; set; }

Property Value

TwResponsiveScale

RowStart

Gets or sets the row start lines at every breakpoint (row-start-*), keyed by the line number.

public TwResponsiveScale RowStart { get; set; }

Property Value

TwResponsiveScale

Rows

Gets or sets the row counts at every breakpoint (grid-rows-*), keyed by the number of rows.

public TwResponsiveScale Rows { get; set; }

Property Value

TwResponsiveScale

RowsSubgrid

Gets or sets the class that makes a nested grid share its parent's rows (grid-rows-subgrid).

public string RowsSubgrid { get; set; }

Property Value

string