I read about x:Bind, it has better performance vs Binding. But in my application WPF C# with .NET Framework 4.8 when I put x:Bind in any part (TextBox Text="{x:Bind ...}"), Visual Studio say to me "Bind is not supported in a Windows Presentation Foundation (WPF) project."
Is not possible you x:Bind in WPF C# Application for Desktop? Or what I need to do for use it?
I am afraid x:Bind is currently only supported in the Universal Windows Platform (UWP) and not in WPF/.NET Framework so the error message is correct.
You can host UWP controls in a WPF app using XAML Islands but there is no way to use a compiled binding directly on a WPF dependency property.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With