CSS funktioniert nicht in Blazorwebview WinForms

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: CSS funktioniert nicht in Blazorwebview WinForms

by Anonymous » 01 Jul 2025, 12:35

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

Top