Table of Contents

Class TwBlazorFlexbox

Namespace
TwBlazor.Configuration
Assembly
TwBlazor.dll

Global configuration for the flexbox utility classes shared by all components: direction, wrapping, grow/shrink, and the justify/align/align-content/align-self alignment scales. See TwFlexAlignmentScale for the shape of each alignment axis.

[ExcludeFromCodeCoverage]
public class TwBlazorFlexbox
Inheritance
TwBlazorFlexbox
Inherited Members

Constructors

TwBlazorFlexbox()

public TwBlazorFlexbox()

Properties

Align

Gets or sets the align-items alignment scale (cross-axis alignment).

public TwFlexAlignmentScale Align { get; set; }

Property Value

TwFlexAlignmentScale

AlignContent

Gets or sets the align-content alignment scale (multi-line cross-axis alignment).

public TwFlexAlignmentScale AlignContent { get; set; }

Property Value

TwFlexAlignmentScale

AlignSelf

Gets or sets the align-self alignment scale (per-item cross-axis override).

public TwFlexAlignmentScale AlignSelf { get; set; }

Property Value

TwFlexAlignmentScale

Basis

Gets or sets the flex basis classes (basis-*). See TwFlexBasisScale.

public TwFlexBasisScale Basis { get; set; }

Property Value

TwFlexBasisScale

Col

Gets or sets the "flex-col" direction class.

public string Col { get; set; }

Property Value

string

ColReverse

Gets or sets the "flex-col-reverse" direction class.

public string ColReverse { get; set; }

Property Value

string

Flex1

Gets or sets the "flex-1" shorthand class (grow, shrink, and a zero flex-basis).

public string Flex1 { get; set; }

Property Value

string

FlexAuto

Gets or sets the "flex-auto" class: grow and shrink from the item's content size.

public string FlexAuto { get; set; }

Property Value

string

FlexInitial

Gets or sets the "flex-initial" class: shrink but never grow.

public string FlexInitial { get; set; }

Property Value

string

FlexNone

Gets or sets the "flex-none" class: neither grow nor shrink.

public string FlexNone { get; set; }

Property Value

string

Grow

Gets or sets the class that allows a flex item to grow.

public string Grow { get; set; }

Property Value

string

GrowNone

Gets or sets the class that prevents a flex item from growing.

public string GrowNone { get; set; }

Property Value

string

Justify

Gets or sets the justify-content alignment scale (main-axis alignment).

public TwFlexAlignmentScale Justify { get; set; }

Property Value

TwFlexAlignmentScale

NoWrap

Gets or sets the "flex-nowrap" wrapping class.

public string NoWrap { get; set; }

Property Value

string

Order

Gets or sets the visual order classes (order-*), keyed by position. Shared by flex and grid items.

public TwClassScale Order { get; set; }

Property Value

TwClassScale

OrderFirst

Gets or sets the "order-first" class.

public string OrderFirst { get; set; }

Property Value

string

OrderLast

Gets or sets the "order-last" class.

public string OrderLast { get; set; }

Property Value

string

ResponsiveDirection

Gets or sets the direction classes written out at every breakpoint, for layouts that change direction as the screen widens. See TwResponsiveFlexDirection.

public TwResponsiveFlexDirection ResponsiveDirection { get; set; }

Property Value

TwResponsiveFlexDirection

Row

Gets or sets the "flex-row" direction class.

public string Row { get; set; }

Property Value

string

RowReverse

Gets or sets the "flex-row-reverse" direction class.

public string RowReverse { get; set; }

Property Value

string

Shrink

Gets or sets the class that allows a flex item to shrink.

public string Shrink { get; set; }

Property Value

string

ShrinkNone

Gets or sets the class that prevents a flex item from shrinking.

public string ShrinkNone { get; set; }

Property Value

string

Wrap

Gets or sets the "flex-wrap" wrapping class.

public string Wrap { get; set; }

Property Value

string

WrapReverse

Gets or sets the "flex-wrap-reverse" wrapping class.

public string WrapReverse { get; set; }

Property Value

string