Table of Contents

Class TwFlexTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for TwFlex and TwFlexItem. Override any property to customize flex layout styles globally.

[ExcludeFromCodeCoverage]
public class TwFlexTheme
Inheritance
TwFlexTheme
Inherited Members

Remarks

Direction, wrapping, alignment, basis and order come from the shared TwBlazorFlexbox utilities, and the numeric gaps from TwBlazorSpacing.

Constructors

TwFlexTheme()

public TwFlexTheme()

Properties

Base

Gets or sets the classes for a block-level flex layout.

public required string Base { get; set; }

Property Value

string

DivideColor

Gets or sets the color of the lines drawn between children.

public required string DivideColor { get; set; }

Property Value

string

DivideX

Gets or sets the classes that draw a line between children laid out in a row.

public required string DivideX { get; set; }

Property Value

string

DivideXReverse

Gets or sets the classes added to DivideX when the row is reversed, so each line stays between two children.

public required string DivideXReverse { get; set; }

Property Value

string

DivideY

Gets or sets the classes that draw a line between children stacked in a column.

public required string DivideY { get; set; }

Property Value

string

DivideYReverse

Gets or sets the classes added to DivideY when the column is reversed, so each line stays between two children.

public required string DivideYReverse { get; set; }

Property Value

string

FullHeight

Gets or sets the classes that make the layout fill its parent's height.

public required string FullHeight { get; set; }

Property Value

string

FullWidth

Gets or sets the classes that make the layout fill its parent's width.

public required string FullWidth { get; set; }

Property Value

string

Inline

Gets or sets the classes for an inline flex layout, which sits in a line of text.

public required string Inline { get; set; }

Property Value

string

Item

Gets or sets the classes every TwFlexItem has.

public required string Item { get; set; }

Property Value

string

ItemMinWidthZero

Gets or sets the classes that let an item shrink below its content, so long text inside it can truncate.

public required string ItemMinWidthZero { get; set; }

Property Value

string

ItemPushEnd

Gets or sets the classes that push an item, and everything after it, to the end of a row.

public required string ItemPushEnd { get; set; }

Property Value

string

ItemPushEndColumn

Gets or sets the classes that push an item, and everything after it, to the bottom of a column.

public required string ItemPushEndColumn { get; set; }

Property Value

string