malkav
WPF Fonts in a ResourceDictionary
Before and after. It seems that my current approach is not working as intended.
I have my
/Styles/Fonts.xaml
file that currently contains this:
<FontFamily x:Key="RnC">./Fonts/RnC-Demo.otf#RnC Sans</FontFamily>
And in my MainWindow.xaml
I am trying to reach it as follows:
<Button x:Name="BtnAdd" Margin="0,5,0,0" Click="BtnAdd_OnClick" FontFamily="{StaticResource RnC}">Add Name</Button>
2 replies
❔ Reading multiple files/folders inside root/subfolder
So far this Blazor Project has taken me more than a month (and I'm taking the front-end from our old Svelte-Kit application)
And I keep running into issues with an actual CMS on Blazor WASM, headless, and no database, and still being able to use the data in the CMS generated files inside the components 😅 Why is Blazor such a PAIN sometimes 🤣
27 replies
❔ Reading multiple files/folders inside root/subfolder
I heard that if I generate everything of my WASM project as a static app, it should be able to reach the files with Directory?
I'm still not sure how to do this,
and I am also still not sure how to build a proper web API that can requests resources from there. Because then I'd have to have DecapCMS build all the markdown files to another API somewhere? Or maybe through the DevOps repository fetch or something...
But that would still create the new problem, I need to reach all files with
**/*.md
😅27 replies