by xamluser · 10y ago · 0 comments
Not to mention the interop with the amazing Windows.UI.Composition API's, which let you do expression animations, Direct2D effects, lighting, parallax, backdrop brushes (e.g., blur the content behind an element), etc.
WPF's version of XAML feels quite dated now.
Also, doing layout on the UI thread is a severe perf limitation that currently affects all versions of XAML. Consider having the UI framework just specify constraints and letting the compositor/render thread compute the absolute positions ;)
It's not x-plat either ;)
Obviously with Avalonia we have a long way to go (hence the Alpha) so we're getting the basics down first.
Layout on the UI thread is definitely a limitation too. I'd be interested to hear ideas as to how it could be done in a threaded manner.
I'd use it as the basis for Avalonia instead of WPF. If only to have x:Bind instead of {Binding}, which thanks to function bindings removes a lot of ViewModel boilerplate.
MS flubbed the launch and followup on Metro so hard (not to mention the shitware on the Store) it's really, really, turned me off from using or playing with it.
https://github.com/Microsoft/RTVS/blob/828b4e3919cbed507a4d0...
Obviously this is still more verbose, because it is a converter on a binding (although it could be shortened further by providing a custom Binding-derived class, I think).