Table of Contents

Class TwFileUploadTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for the file upload component (TwFileUpload). Override any property to customize file upload styles globally. The upload button itself is themed via TwButtonTheme - this covers only the pieces unique to file upload.

[ExcludeFromCodeCoverage]
public class TwFileUploadTheme
Inheritance
TwFileUploadTheme
Inherited Members

Constructors

TwFileUploadTheme()

public TwFileUploadTheme()

Properties

FileList

Gets or sets the classes for the list of selected files, each a TwAttachment, shown beneath the upload control.

public required string FileList { get; set; }

Property Value

string

FocusRing

Gets or sets the focus ring for the upload control. The file input sits inside the visible label, so the ring is drawn on the label while the input has keyboard focus.

public string FocusRing { get; set; }

Property Value

string

IconSpacing

Gets or sets the spacing classes for the leading icon and the selected-file chips.

public required string IconSpacing { get; set; }

Property Value

string