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.
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
Ich versuche, einer vorhandenen WinForms -Anwendung eine Blazorwebview hinzuzufügen. Die Komponente wird gerendert, aber CSS der Klassenstufe funktioniert nicht, sondern nur Inline -Stile.
[img]_framework/blazor.webview.js[/img]
Loading…
< /code>
Index.razor
[code]@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
[/code]