-
Friends, I'm not able to understand and make the dynamic link of images. Where I'm wrong, or what's missing. I put the test project on my GitHub: https://github.com/CarlosEX/ExampleBindingImage BitmapAssetValueConverter.csThis is my converter class i picked up from the documentation it's inside my ViewModels folder
MainWindowViewModel.cs
MainWindow.axaml
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
https://github.com/AvaloniaUI/avaloniaui.net/issues/235 |
Beta Was this translation helpful? Give feedback.
-
Is there any special setup required for unit testing of this code? I'm getting NullReferenceException from the Bitmap constructor if I call Convert method in an xunit test. |
Beta Was this translation helpful? Give feedback.
https://github.com/AvaloniaUI/avaloniaui.net/issues/235
https://github.com/AvaloniaUI/avaloniaui.net/pull/237