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
AlignContent
Gets or sets the align-content alignment scale (multi-line cross-axis alignment).
public TwFlexAlignmentScale AlignContent { get; set; }
Property Value
AlignSelf
Gets or sets the align-self alignment scale (per-item cross-axis override).
public TwFlexAlignmentScale AlignSelf { get; set; }
Property Value
Basis
Gets or sets the flex basis classes (basis-*). See TwFlexBasisScale.
public TwFlexBasisScale Basis { get; set; }
Property Value
Col
Gets or sets the "flex-col" direction class.
public string Col { get; set; }
Property Value
ColReverse
Gets or sets the "flex-col-reverse" direction class.
public string ColReverse { get; set; }
Property Value
Flex1
Gets or sets the "flex-1" shorthand class (grow, shrink, and a zero flex-basis).
public string Flex1 { get; set; }
Property Value
FlexAuto
Gets or sets the "flex-auto" class: grow and shrink from the item's content size.
public string FlexAuto { get; set; }
Property Value
FlexInitial
Gets or sets the "flex-initial" class: shrink but never grow.
public string FlexInitial { get; set; }
Property Value
FlexNone
Gets or sets the "flex-none" class: neither grow nor shrink.
public string FlexNone { get; set; }
Property Value
Grow
Gets or sets the class that allows a flex item to grow.
public string Grow { get; set; }
Property Value
GrowNone
Gets or sets the class that prevents a flex item from growing.
public string GrowNone { get; set; }
Property Value
Justify
Gets or sets the justify-content alignment scale (main-axis alignment).
public TwFlexAlignmentScale Justify { get; set; }
Property Value
NoWrap
Gets or sets the "flex-nowrap" wrapping class.
public string NoWrap { get; set; }
Property Value
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
OrderFirst
Gets or sets the "order-first" class.
public string OrderFirst { get; set; }
Property Value
OrderLast
Gets or sets the "order-last" class.
public string OrderLast { get; set; }
Property Value
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
Row
Gets or sets the "flex-row" direction class.
public string Row { get; set; }
Property Value
RowReverse
Gets or sets the "flex-row-reverse" direction class.
public string RowReverse { get; set; }
Property Value
Shrink
Gets or sets the class that allows a flex item to shrink.
public string Shrink { get; set; }
Property Value
ShrinkNone
Gets or sets the class that prevents a flex item from shrinking.
public string ShrinkNone { get; set; }
Property Value
Wrap
Gets or sets the "flex-wrap" wrapping class.
public string Wrap { get; set; }
Property Value
WrapReverse
Gets or sets the "flex-wrap-reverse" wrapping class.
public string WrapReverse { get; set; }