Questions tagged [reactiveui]

ReactiveUI is a MVVM framework that integrates with the Reactive Extensions

ReactiveUI is a framework for the .Net platform built on top of for any mobile or desktop platform.

Supports , , , , , and .

1093 questions
0
votes
1 answer

BindCommand WinRT GridView and get selected item

I have a GridView which is bound to the property Sessions on my viewmodel. When a new item is selected in the GridView I want this to trigger navigation to a new view. The Sessions property is a list of SessionViewModel but this has several…
JFoulkes
  • 2,429
  • 1
  • 21
  • 24
0
votes
1 answer

How to fix an error in the WPF design with custom control

I am attempting to create a region control that does the following trick
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217
0
votes
1 answer

ReactiveAsyncCommand.RegisterAsyncAction - missing completion notification?

I'm using ReactiveUI. On a button, I want to call a webservice. If this call succeeds, I want to update my UI. When registering an asynchronous function with RegisterAsyncFunction, you get an observable that you can subscribe to. This gives you the…
Vegar
  • 12,828
  • 16
  • 85
  • 151
0
votes
1 answer

How to expose WhenAny etc

I'm sure I've missed something or backed myself into some strange frustrated corner, but here is what I'm trying to do. I have a WPF application, using Unity as IoC. I have a number of services that have an interface. I deal with my services via the…
Simon
  • 118
  • 1
  • 3
0
votes
1 answer

Reactive Extensions (UI) increasing event calls

I have the below code. this.ObservableForProperty(x => x.SelectedDay) .Throttle(TimeSpan.FromMilliseconds(3600)) .Where(x => SelectedDay != null) .ObserveOn(CoreWindow.GetForCurrentThread().Dispatcher) .Subscribe(x =>…
4imble
  • 13,979
  • 15
  • 70
  • 125
0
votes
1 answer

MessageBus and Replay

I tried to register to the MessageBus an observable that replay the last value produced when a new subscription occurs var currentViewObs = currentViewGallery.ObservableForProperty(g => g.SelectedIndex) …
Dtex
  • 2,593
  • 1
  • 16
  • 17
0
votes
3 answers

Ordering an observable collection with Reactiveui

I am having some difficulty with ordering an observable collection in my ViewModel. Here is my situation: In my view model, I have the following list: public List Tickets { get { return _Tickets.Value; } …
sTodorov
  • 5,435
  • 5
  • 35
  • 55
0
votes
1 answer

ReactiveUI: Testing observable properties from unit tests

There is this example on the official RX blog: var scheduler = new TestScheduler(); var xs = scheduler.CreateColdObservable( OnNext(10, 42), OnCompleted(20) ); var res = scheduler.Start(() => xs); res.Messages.AssertEqual( …
naeron84
  • 2,955
  • 3
  • 30
  • 37
0
votes
2 answers

Why are my WCF Async with Rx unit tests unstable?

I am using Rx and RxUI in a MVVM project and have a view model that queries its data from a WCF service asynchronously. In the unit tests I create a mock object that returns a Task with the expected value. Here's a general idea of what my view model…
Doug Mitchell
  • 192
  • 1
  • 9
0
votes
1 answer

ReactiveAsyncCommand with CanExecute = null results in CanExecute always being false

This question is related to a question I posted some time ago (here). I am using a ReactiveAsyncCommand in the following way: LoadTickets = new ReactiveAsyncCommand(null, 0, RxApp.DeferredScheduler); LoadTickets.RegisterAsyncFunction(x =>…
sTodorov
  • 5,435
  • 5
  • 35
  • 55
0
votes
1 answer

two whenany on one object bug

I use reactiveUI for watching properties of DP The code is /// /// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window { public MainWindow() { RxApp.DeferredScheduler =…
takayoshi
  • 2,789
  • 5
  • 36
  • 56
0
votes
1 answer

ReactiveUI 4.1 CreateDerivedCollection(...) filter does not seem to work

I am using ReactiveUI 4.1. I use a ReactiveCollection of selectable items (having IsSelected flag) as a source for another derived reactive collection that uses filter to view only items that have IsSelected == true. If the source collection is…
AKornich
  • 682
  • 5
  • 16
0
votes
1 answer

reactiveui whenany on dependency property

I have simple WPF app with two textboxes and ReactiveUI. I try to lookup for dependency property of first textbox by using WhenAny public partial class MainWindow : Window { public MainWindow() { RxApp.DeferredScheduler =…
takayoshi
  • 2,789
  • 5
  • 36
  • 56
0
votes
1 answer

ReactiveUI, Version=3.2.0.0 assembly references issue

I am using ReactiveUI 3.2. When I run my app (WPF based), I see following log messages while the app seem to run as expected (including some expected ReactiveUI base features): Calling assembly : ReactiveUI, Version=3.2.0.0, Culture=neutral,…
AKornich
  • 682
  • 5
  • 16
0
votes
1 answer

ReactiveCollection cross thread access error

I taken the code from the ReactiveCollection sample to create a simple search app in Silverlight 5. But after the search results are returned, I get a cross thread error when the binding to the ReactiveCollection 'Stuff' is actioned. When I run this…