Maybe I'm expecting too much here, but I figure I can't be the first person to have tried. Do I have to create (yet another) converter for this?
Accessing the current assembly's version requires method calls, so you can't do it with WPF binding:
Version version = Assembly.GetExecutingAssembly().GetName().Version;
Either use a converter (as you suggest), or create a property on your view model (as Kent suggests).
Not if you're using MVVM. Just expose a Version property from your view model and bind to that.
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