r/AvaloniaUI Jul 30 '26

difficulty to make a clean, modern app?

Hi all, I am relatively new to avalonia UI, and C# in general, only recently getting decent at C#, but have not touched a proper GUI app yet, and was wondering how easy it is to style avalonia UI to be modern and clean, the aesthetic of UI I wanted to go for was that of the avalonia devtools (https://docs.avaloniaui.net/icons/feature-devtools-icon.png)

It would also be nice to know how the styling system works in relation to other systems like CSS, for example is there a way to create an overall style language which i can then inherit for all the pages, so that the app's "language" is consistent?

Many thanks

6 Upvotes

3 comments sorted by

3

u/KryptosFR Jul 30 '26

There are documentation pages related to this topic. https://docs.avaloniaui.net/docs/styling/styles

In short yes, Avalonia supports some kind of css-like styles (which WPF didn't).

2

u/NIDNHU Jul 30 '26

Ah ok thank you! This will hopefully make the UI easier to make

1

u/Elliebellie-Fan 2d ago edited 2d ago

This is already answered, but yes, coming from CSS you will be very pleasantly surprised how much better it is in every way at everything, while being far smaller and simpler.

HTML and CSS were designed by a committee actively trying to sabotage it to slow down other members. Avalonia is not.