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
2 answers

ReactiveUI Command with WCF resulting in Thread error on updating of Observable Property

I am attempting to make a WCF call using ReactiveUI commands and capturing the resulting string with ObservableAsPropertyHelper. With the code below I am receiving the following error message - "The calling thread cannot access this object because a…
denmerc
  • 1
  • 3
0
votes
1 answer

Trouble Zipping ReactiveList.ItemChanging with ReactiveList.ItemChanged

I am trying to zip two sequences from a ReactiveList to return the old and new values when something changes. The zipped subscription however appears to be returning the same value for 'old and new'. What am I missing? Thanks :-) void Main() { …
Damien Sawyer
  • 5,323
  • 3
  • 44
  • 56
0
votes
2 answers

Where to find this ReactiveUI.Routing?

I got a sample code that I couldn't get to compile. It is complaining about a missing Reference to ReactiveUI.Routing.dll The piece of code that is using it is some Xaml code using RoutedViewHost element. I looked up in Nuget for ReactiveUI-Routing.…
fahadash
  • 3,133
  • 1
  • 30
  • 59
0
votes
1 answer

xaml converter error in reactiveui

I get the following mysterious error when trying to use ReactiveUI's MVVM framework in a Windows Store app: Error: Converter failed to convert value of type 'ReactiveUI.RoutingState, ReactiveUI, Version=5.4.0.0, Culture=neutral,…
Gordon
  • 3,012
  • 2
  • 26
  • 35
0
votes
2 answers

Communicating between view and view model using ReactiveUI.NET

I am fairly new to reactive UI. I am using it in my app extensively for async programming etc. I have a question. I have a method in my ViewModel which is async and which "awaits" for a task to complete. On completion of this task, I would like to…
nDev
  • 97
  • 2
  • 9
0
votes
1 answer

Does ReactiveUI RaiseAndSetIfChanged fire for List Add, Delete, Modify?

Will this fire private List _TweetTiles; public List TweetTiles { get { return _TweetTiles; } set { this.RaiseAndSetIfChanged(ref _TweetTiles, value); } } When I…
phil
  • 618
  • 2
  • 5
  • 17
0
votes
1 answer

Where do I find ReactiveCollections in ReactiveUI 5.3

I have added ReactiveUI v5.3 to a Visual Studio console app and cannot find ReactiveCollections in the assembly. What am I missing?
0
votes
1 answer

Testing ReactiveCommand async result

I use Xamarin and ReactiveUI to do mobile apps. I'd like to test my ViewModel and its ReactiveCommand. I register an asynchronous operation which return an IObservable inside the ReactiveCommand. In ViewModel constructor : Login = new…
nverinaud
  • 1,270
  • 14
  • 25
0
votes
1 answer

Specific error messages using ReactiveUI's ReactiveValidatedObject?

Say I have an Email property and i want to show 2 different specific error messages like "required" or "invalid format" accordingly to provide a better user experience... how do I do that?
icube
  • 2,578
  • 1
  • 30
  • 63
0
votes
1 answer

ReactiveUI RaiseAndSetIfChanged() Backing Field Accesibility

Problem: Cannot set backing field of property to private as I get the following exception when setting a value to Name. System.ArgumentException : You must declare a backing field for this property named: _Name My Code: public class MyVM :…
Michal Ciechan
  • 13,492
  • 11
  • 76
  • 118
0
votes
1 answer

ReactiveUI: window size when routing in WPF

In my WPF application I have two UserControls with different sizes (Height and Width) and I'm using the routing scheme from ReactiveUI to navigate between this two Views. My problem is that the MainWindow size is not resized when load the View. On…
Luiz
  • 542
  • 5
  • 10
0
votes
1 answer

What Am I Missing About Reactive Extension Timers?

I have this: watchers .ToObservable() // needs to be observable .SelectMany(watcher => // working on each watcher Observable // create a timer for the watcher .Timer(watcher.StartTime,…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
0
votes
1 answer

Invalid cross-thread access using ReactiveUI RouterViewHost

I am trying to learn ReactiveUI, and am currently trying to set up the Routing feature. I have been "following" the Play rxui-5-update branch on github: https://github.com/play/play-windows/tree/rxui5-update/Play In my MainWindow.xaml where I am…
David
  • 15
  • 4
0
votes
1 answer

ReactiveValidatedObject missing in ReactiveUI 5.0.2

I just start learn ReactiveUI from https://github.com/reactiveui/ReactiveUI.Samples/blob/master/ReactiveUI_4Only.Samples.sln. I download lastest version via nuget but I cant find class ReactiveValidatedObject in ReactiveUI a check also…
Kopernik
  • 81
  • 1
  • 9
0
votes
2 answers

Bind to IReactiveCommand in view code behind

I have my ViewModel which has an ErrorCommand. I wish to subscribe to this in my view code behind so that any time it is called I can display an error message which is passed like so: ErrorCommand.Exectute("Error occured") In the…
JFoulkes
  • 2,429
  • 1
  • 21
  • 24