wpf
wpf copied to clipboard
need xbind implemented for wpf
x:Bind and x:DeferLoadStrategy for WPF would be amazing!
I wonder if we could use the same core logic to generate the code from x:Bind for UWP and WPF. That would allow us to bring new x:Bind features at the same time to UWP and WPF.
For example, boolean conversion is a feature that I've requested for UWP on user voice a while ago: https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/35028187-allow-c-style-boolean-conversion-with-x-bind
Will this be in .NET Core 3.1?
Here is my implementation of the x:Bind Markup Extension for WPF (and Xamarin Forms) https://github.com/levitali/CompiledBindings
@levitali Awesome
@levitali Interesting, I'll check it out
Since support for UWP is not sure for the future. I think it would be good time to bring the benefits into WPF. The improved ways of binding thanks to x:Bind are great tools. Lets not make all that work gone to waste.
Ref:
- https://learn.microsoft.com/en-us/windows/uwp/xaml-platform/x-bind-markup-extension
- https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/migrate-to-windows-app-sdk/what-is-supported
From: https://learn.microsoft.com/en-us/windows/uwp/xaml-platform/x-bind-markup-extension
The {x:Bind} markup extension—new for Windows 10—is an alternative to {Binding}. {x:Bind} runs in less time and less memory than {Binding} and supports better debugging.
I would love to see this added for performance reason. Is it possible?
It seems xBind will never get in WPF because WinUI3 aka WinAppSDK currently exists