Relative Content

Tag Archive for c#wpfreactiveui

Binding a collection to a WPF ListBox using ReactiveUI

I’m learning ReactiveUI at the moment, and I’m struggling to figure out how to bind a collection to a ListBox in WPF. I already understand the MVVM pattern, and I was able to do this very thing in MVVM Light some years ago, but ReactiveUI is proving more difficult. I haven’t been able to find too many simple examples, just convoluted ones that don’t do a great job at demonstrating the basics. Also, a lot of the answers I’ve found on Stack Overflow are very old, so they don’t use the new Dynamic Data libraries that ReactiveUI recommends nowadays.

Binding a collection to a WPF ListBox using ReactiveUI

I’m learning ReactiveUI at the moment, and I’m struggling to figure out how to bind a collection to a ListBox in WPF. I already understand the MVVM pattern, and I was able to do this very thing in MVVM Light some years ago, but ReactiveUI is proving more difficult. I haven’t been able to find too many simple examples, just convoluted ones that don’t do a great job at demonstrating the basics. Also, a lot of the answers I’ve found on Stack Overflow are very old, so they don’t use the new Dynamic Data libraries that ReactiveUI recommends nowadays.

Binding a collection to a WPF ListBox using ReactiveUI

I’m learning ReactiveUI at the moment, and I’m struggling to figure out how to bind a collection to a ListBox in WPF. I already understand the MVVM pattern, and I was able to do this very thing in MVVM Light some years ago, but ReactiveUI is proving more difficult. I haven’t been able to find too many simple examples, just convoluted ones that don’t do a great job at demonstrating the basics. Also, a lot of the answers I’ve found on Stack Overflow are very old, so they don’t use the new Dynamic Data libraries that ReactiveUI recommends nowadays.