Table of Contents

Class TwCardTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for card components (TwCard). Override any property to customize card styles globally.

[ExcludeFromCodeCoverage]
public class TwCardTheme
Inheritance
TwCardTheme
Inherited Members

Constructors

TwCardTheme()

public TwCardTheme()

Properties

Bordered

Gets or sets the classes for the card border when its Bordered parameter is true.

public string Bordered { get; set; }

Property Value

string

Container

Gets or sets the classes for the card's outer element, which stacks the media, content and footer.

public string Container { get; set; }

Property Value

string

Content

Gets or sets the classes for the padded area that holds the header and the card's main content.

public string Content { get; set; }

Property Value

string

Gets or sets the classes for the footer that holds FooterContent, such as actions.

public string Footer { get; set; }

Property Value

string

Header

Gets or sets the classes for the header, which holds the Title and HeaderContent.

public string Header { get; set; }

Property Value

string

Image

Gets or sets the classes for the image set through ImageSrc.

public string Image { get; set; }

Property Value

string

Media

Gets or sets the classes for the media area at the top of the card, which holds the image and MediaContent. Its top corners follow the card's rounding.

public string Media { get; set; }

Property Value

string

Title

Gets or sets the classes for the card's Title heading.

public string Title { get; set; }

Property Value

string