We all agree Avalonia is one of the best GUI platforms out there for c#, but the documentation is terrible at least for beginners like me. It’s nice to see your efforts in creating such videos I think it’s necessarily needed, it would be nice to explaining core concepts and basics sequentially. I’ve been started to learn avalonia for almost a month and I’m lost in the documentations. Thanks ❤
Curious what your opinion is now 7 months later. It's been a month for me and I'm considering going back to winforms. At least that has a built-in file explorer, a good treeview and I dont need to find nonexistant documentation on how to set up drag/drop events.
Instead of offsetting the ghost object, you can turn IsHitTestVisible="False" in the axaml for an easier solution. Also, as far as I can tell, when something is initialized as IsVisible="False", Avalonia doesn't bother rendering it until it's changed to visible: causing a visual artifact. Though, it's curious as to why the artifact isn't in the same location as the ghost. Anyhow, thanks, this was a massive help and dearly needed given the dearth of information on the subject :D
Thanks again for the series. Is there a way to use Avalonia to store file data in a Cross Platform way? Obviously this might not work for Browser based builds, but I'm struggling to understand how to persist application state in a cross-platform way.
Hey, i'm not really sure honestly. By looking into the AvaloniaUI documentation I've found a page for "Data Persistence" here docs.avaloniaui.net/docs/concepts/reactiveui/data-persistence. It's based on ReactiveUI and it seems to give the possibility to serialize and store the whole view. It's definitely worth to investigate further.
That's a good question! I haven't tried it yet, but by heart I'd first split the problem into 2 separate mini challenges: 1. detect when cursor is over the task container (by playing around with PointerEntered and PointerExited event handlers maybe) 2. check whether the cursor is carrying an item and apply some vfx in case Let me know if you manage to make it work, it'd be awesome!
We all agree Avalonia is one of the best GUI platforms out there for c#, but the documentation is terrible at least for beginners like me. It’s nice to see your efforts in creating such videos I think it’s necessarily needed, it would be nice to explaining core concepts and basics sequentially. I’ve been started to learn avalonia for almost a month and I’m lost in the documentations. Thanks ❤
Curious what your opinion is now 7 months later. It's been a month for me and I'm considering going back to winforms. At least that has a built-in file explorer, a good treeview and I dont need to find nonexistant documentation on how to set up drag/drop events.
Many thanks for your content. You're building up the Avalonia UI community! 🎉
Excellent initial exploration of Avalonia's D & D foibles. Thanks.😀
Thank you for your effort! Waiting for more videos on Avalonia UI soon!
It's Cool!! Thank you!
This is a very helpful and well made video! Thank you very much!
Instead of offsetting the ghost object, you can turn IsHitTestVisible="False" in the axaml for an easier solution. Also, as far as I can tell, when something is initialized as IsVisible="False", Avalonia doesn't bother rendering it until it's changed to visible: causing a visual artifact. Though, it's curious as to why the artifact isn't in the same location as the ghost.
Anyhow, thanks, this was a massive help and dearly needed given the dearth of information on the subject :D
Oh thanks for the hint! Gotta test it asap!
Thanks
Thanks again for the series. Is there a way to use Avalonia to store file data in a Cross Platform way? Obviously this might not work for Browser based builds, but I'm struggling to understand how to persist application state in a cross-platform way.
Hey, i'm not really sure honestly. By looking into the AvaloniaUI documentation I've found a page for "Data Persistence" here docs.avaloniaui.net/docs/concepts/reactiveui/data-persistence. It's based on ReactiveUI and it seems to give the possibility to serialize and store the whole view. It's definitely worth to investigate further.
Do you know how to create a hover effect when item is over a drop zone?
That's a good question! I haven't tried it yet, but by heart I'd first split the problem into 2 separate mini challenges:
1. detect when cursor is over the task container (by playing around with PointerEntered and PointerExited event handlers maybe)
2. check whether the cursor is carrying an item and apply some vfx in case
Let me know if you manage to make it work, it'd be awesome!
@@MammaMiaDev Problem I had was pointer enter was not getting triggered when I tried strange really.
@@FilipCordas yeah same pointer events don't work when it's pressed