Page 1 of 1

CSS funktioniert nicht in Blazorwebview WinForms

Posted: 01 Jul 2025, 12:35
by Anonymous
Ich versuche, einer vorhandenen WinForms -Anwendung eine Blazorwebview hinzuzufĂĽgen. Die Komponente wird gerendert, aber CSS der Klassenstufe funktioniert nicht, sondern nur Inline -Stile.
Image





Loading…


< /code>
Index.razor

Code: Select all

@page "/"

Blazor Proof-of-Concept

The time is [b]@DateTime.Now.ToString("T")[/b].

Click here

@if (!test)
{
Click here
}

@code{
bool test = false;

void Toggle()
{
test = !test;
}
}
< /code>
Dateistruktur < /p>
Project.UI
wwwroot
css
bootstrap
bootstrap.min.css
index.html
Pages
Index.razor
Forms
BlazorHostForm
UserControls
BlazorControl