C
C#2y ago
[Mija]

❔ Why styles isn't work when reading from file ?

Hi! why that construction isn't work ?
2 Replies
[Mija]
[Mija]2y ago
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Label.h1">
<Setter Property="FontSize" Value="24"></Setter>
<Setter Property="FontWeight" Value="Bold"></Setter>
<Setter Property="Foreground" Value="#444444"></Setter>
</Style>
</Styles>
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Label.h1">
<Setter Property="FontSize" Value="24"></Setter>
<Setter Property="FontWeight" Value="Bold"></Setter>
<Setter Property="Foreground" Value="#444444"></Setter>
</Style>
</Styles>
this belongs to file myUIStyles.axaml
<Window.Styles>
<StyleInclude Source="myStyles/myUIStyles.axaml"></StyleInclude>
</Window.Styles>
<Window.Styles>
<StyleInclude Source="myStyles/myUIStyles.axaml"></StyleInclude>
</Window.Styles>
that is Include
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ How should I correctly interact .NET Core App with client-side app?Hello guys. I'm trying to resolve some issue and would like you to explain me how some things work. ✅ Dockerfile goes where exactly if I have multiple class libraries in a sln?Do we have anyone experienced in docker and has dockerized c# projects because im trying to follow t❔ Jquery UI Datepicker with ASP.NET MVCGod has this problem been a headache... I have this code, which is Creating a datepicker element. ``❔ "proper" structure of the PUT endpointWhats better / more "proper" PUT request - PUT `api/controller/{ID}` and then objectDTO in body - PU❔ What should web api controller return?I can return Ok with some json as parameter. Or I can return simple string For example, I have meth❔ How to read json api data from remote server that uses paging?So I need some direction of how we can pull all data from a json api website that only sends 50 item✅ How Does StreamReader.ReadLine Know When to Stop?I am working with streams and don’t want to grab more data than I need from the stream. I realized s❔ What mistake did I make?attached is my code, but it doesnt generate anything for the objects and has like default values of ❔ Attempting to multiply a number by a decimal, keeps getting 0Hello, I am attempting to multiply a number by .5, and whenever I do the end result is 0.❔ How would i go about sorting my table using entityframework and html?I'm really stuck, the microsoft website has a general outline but i'm really failing to grasp it. Wh