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
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
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
Footer
Gets or sets the classes for the footer that holds FooterContent, such as actions.
public string Footer { get; set; }
Property Value
Header
Gets or sets the classes for the header, which holds the Title and HeaderContent.
public string Header { get; set; }
Property Value
Image
Gets or sets the classes for the image set through ImageSrc.
public string Image { get; set; }
Property Value
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
Title
Gets or sets the classes for the card's Title heading.
public string Title { get; set; }