Class TwAttachmentTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the file attachment chip (TwAttachment). Override any property to customize attachment styles globally.
[ExcludeFromCodeCoverage]
public class TwAttachmentTheme
- Inheritance
-
TwAttachmentTheme
- Inherited Members
Constructors
TwAttachmentTheme()
public TwAttachmentTheme()
Properties
Actions
Gets or sets the classes for the row of action buttons.
public required string Actions { get; set; }
Property Value
Base
Gets or sets the classes for the attachment's outer box.
public required string Base { get; set; }
Property Value
Details
Gets or sets the classes for the column that holds the file name and its size, progress or error.
public required string Details { get; set; }
Property Value
Error
Gets or sets the classes for the error shown when the upload failed.
public required string Error { get; set; }
Property Value
Failed
Gets or sets the classes added to the outer box when the upload failed.
public required string Failed { get; set; }
Property Value
IconBox
Gets or sets the classes for the box that holds the file type icon when there is no preview.
public required string IconBox { get; set; }
Property Value
Meta
Gets or sets the classes for the file's size and type.
public required string Meta { get; set; }
Property Value
Name
Gets or sets the classes for the file name.
public required string Name { get; set; }
Property Value
NameLink
Gets or sets the classes added to the file name when it is a link.
public required string NameLink { get; set; }
Property Value
Preview
Gets or sets the classes for the preview image.
public required string Preview { get; set; }