Some Avalonia samples that do not use XAML #16706
stevensrmiller
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a few samples of basic Avalonia controls used without any XAML. There is nothing wrong with XAML, of course. But I feel more at home using just code to create my UIs and other graphics.
Here and there, I've seen inquiries about using Avalonia without XAML. There are a few examples I've found that were a big help. I've tried to create a set of samples with each one demonstrating just one or two Avalonia concepts, but that collectively cover quite a few.
There's also one that is a bit more complicated than all the rest, but I think it does a nice job of showing how you can do something "real," without XAML, if you want to. It draws harmonograph images:
For those who are interested, please have a look and, if you are so inclined, make any helpful suggestions you can as to how I might improve the examples or add more to them. They are at my GitHub repo.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions