wpf icon indicating copy to clipboard operation
wpf copied to clipboard

need xbind implemented for wpf

Open juepiezhongren opened this issue 6 years ago • 8 comments

juepiezhongren avatar Dec 08 '18 09:12 juepiezhongren

x:Bind and x:DeferLoadStrategy for WPF would be amazing!

fpadilha avatar Dec 18 '18 15:12 fpadilha

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

thomasclaudiushuber avatar Dec 18 '18 15:12 thomasclaudiushuber

Will this be in .NET Core 3.1?

weitzhandler avatar Oct 27 '19 01:10 weitzhandler

Here is my implementation of the x:Bind Markup Extension for WPF (and Xamarin Forms) https://github.com/levitali/CompiledBindings

levitali avatar Sep 23 '21 11:09 levitali

@levitali Awesome

lindexi avatar Sep 24 '21 11:09 lindexi

@levitali Interesting, I'll check it out

R2D221 avatar Sep 24 '21 19:09 R2D221

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

mklemarczyk avatar Sep 30 '23 20:09 mklemarczyk

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?

HiMarioLopez avatar Mar 22 '24 21:03 HiMarioLopez

It seems xBind will never get in WPF because WinUI3 aka WinAppSDK currently exists

Wufus avatar Jun 03 '24 08:06 Wufus