These are chat archives for AvaloniaUI/Avalonia

17th
Jun 2017
Steven Kirk
@grokys
Jun 17 2017 00:13
just managed to try scenegraph with AvalonStudio and Core2D and they seem to work fine
well, AvalonStudio has some problems but I was seeing those with the nuget packages as well
@kekekeks have you had chance to review scenegraph at all?
MonkAlex
@MonkAlex
Jun 17 2017 07:04
Can i bind byte[] to Image Source? Its work in wpf, but devtools show null in Source
Steven Kirk
@grokys
Jun 17 2017 10:45
i don't think that's currently supported @MonkAlex - it would need to be added to BitmapTypeConverter: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Markup/Avalonia.Markup.Xaml/Converters/BitmapTypeConverter.cs
please, add an issue
the easiest workaround for now would be to create your own converter and use it in the binding
MonkAlex
@MonkAlex
Jun 17 2017 10:46
@grokys okay, ty
I add issue today, later
Steven Kirk
@grokys
Jun 17 2017 10:46
thanks!
MonkAlex
@MonkAlex
Jun 17 2017 17:49
Has any samples with converters?
it's very similar to WPF, except you need to expose the converter as a static property instead of a in a StaticResource
MonkAlex
@MonkAlex
Jun 17 2017 17:56
Core2D fine as sample, ty
Steven Kirk
@grokys
Jun 17 2017 18:01
apologies for the lack of documentation :(