AvaloniaUI / Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
https://avaloniaui.net
MIT License
25.16k stars 2.18k forks source link

Bind byte[] to Image Source #1025

Open MonkAlex opened 7 years ago

MonkAlex commented 7 years ago

Want bind byte[] to Image Source. Its work in wpf, but devtools show null in Source.

@grokys say:

i don't think that's currently supported - it would need to be added to BitmapTypeConverter: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Markup/Avalonia.Markup.Xaml/Converters/BitmapTypeConverter.cs the easiest workaround for now would be to create your own converter and use it in the binding

Dynesshely commented 2 years ago

Want, too