question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stream Binding not Displaying Data

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:37 (33 by maintainers)

github_iconTop GitHub Comments

2reactions
JanusTidacommented, Mar 4, 2018

@Aleksbgbg em, this is bug of the control that will be fixed soon. 😉

0reactions
abbayecommented, May 26, 2019

Hi @mail278

i will check this, Sorry i have missed your post

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't update my binding data(only update at first time)
I want to show the stream data to textbox in real time. But the textbox doesn't updated even the stream data has updated....
Read more >
Data binding GridView in memory (Grid is not displayed)
Hi, I would like to send a GridView to the RadGridReportingLite in order to create a report. Since I need to change the...
Read more >
Two-way data binding
If the variable that's bound to a View object needs to be formatted, translated, or changed somehow before being displayed, it's possible to...
Read more >
View binding
Data binding library ... About paging · Load and display paged data · Page from network and database · Transform data streams ......
Read more >
Two-Way Data Binding in Angular with ngModel
The two-way data binding in Angular is used to display information to the end user and allows the end user to make changes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found