WpfHexEditorControl: Stream Binding not Displaying Data
Platform
I am using WpfHexEditor in WPF with MVVM.
Problem
I am using a ViewModel with the following data:
public MemoryStream Data { get; } = new MemoryStream();
public void Initialise(byte[] data)
{
Data.Write(data, 0, data.Length);
}
I am binding the MemoryStream
(Data
) using the following XAML code:
<WpfHexEditor:HexEditor Stream="{Binding Data, Mode=OneTime}"/>
Result
This yields an empty editor control: http://prntscr.com/iksyy4
Question
The stream binding does not work. The stream only works if set from code-behind.
Do you have a solution to this?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 37 (33 by maintainers)
Commits related to this issue
- ISSUE #26 correct the binding... it's should work :) — committed to abbaye/WpfHexEditorControl by deleted user 5 years ago
@Aleksbgbg em, this is bug of the control that will be fixed soon. 😉