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
DivideColor
Gets or sets the color of the lines drawn between children.
public required string DivideColor { get; set; }
Property Value
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
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
DivideY
Gets or sets the classes that draw a line between children stacked in a column.
public required string DivideY { get; set; }
Property Value
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
FullHeight
Gets or sets the classes that make the layout fill its parent's height.
public required string FullHeight { get; set; }
Property Value
FullWidth
Gets or sets the classes that make the layout fill its parent's width.
public required string FullWidth { get; set; }
Property Value
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
Item
Gets or sets the classes every TwFlexItem has.
public required string Item { get; set; }
Property Value
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
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
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; }