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

Observable.fromEventPattern TypedEventHandler

I am able to generate an Observable from HID Input Report events, but I would like to dive in to the packet data with Linq queries. I am having trouble making all the types line up. readerPackets = Observable .FromEventPattern …
bvwj
  • 41
  • 4
0
votes
1 answer

Displaying progress of processing collection

I'm wondering what is a best practice to handle processing a collection of items and display the progress back to the UI. The following code is roughly what I wrote to handle it, but it seems quite dirty: Command = ReactiveCommand.CreateAsyncTask(_…
stehlikio
  • 68
  • 5
0
votes
0 answers

Using ReactiveUI for pass-through values in WPF

I've got a problem that I'm fairly sure ReactiveUI will help with but I can't quite wrap my brain around how to implement it. Basically I have a simple model: public class Model { public bool IsThingEnabled { get; set; } public string…
RandomEngy
  • 14,931
  • 5
  • 70
  • 113
0
votes
1 answer

ReactiveUI exception handle recovery for ReactiveCommand.CreateAsyncTask

Looking at many examples for ReactiveUI ReactiveCommands, the code looks something like Delete = ReactiveCommand.CreateAsyncObservable(x => DeleteImpl()); Delete.IsExecuting.ToProperty(this, x => x.IsDeleting, out…
James Bradt
  • 564
  • 5
  • 11
0
votes
1 answer

CSLA/ReactiveUI serialization issue

I'm attempting to use CSLA (latest version) along with ReactiveUI/Reactive Extensions. When creating the WPF bindings using reactiveUI (Bind/OneWayBind) and using the ToProperty methods, it appears that the underlying logic uses the Rx…
James Bradt
  • 564
  • 5
  • 11
0
votes
1 answer

How do you pipe an observable on the view to an observable on the view model using ReactiveUI?

I have a ReactiveTableViewController backed by a ReactiveList. I'd like the ElementSelected observable on ReactiveTableViewSource to push the selected/touched row/object to an observable on my view model so I can use all the fun LINQ operators with…
Chuck Pinkert
  • 1,325
  • 1
  • 14
  • 24
0
votes
1 answer

Invoking source property update on a non-UI thread in two-way data binding

Suppose I have a WPF two-way data binding between a source (CLR property) and a destination (UI control property). Now anytime the destination property is updated, I want to update the source property on a non-UI thread (not on Dispatcher thread).…
nikoniko
  • 833
  • 2
  • 11
  • 22
0
votes
1 answer

Binding a ReactiveCommand prevents a ViewModel from being garbage collected

When I bind a "back button" to a the router in ReactiveUI, my ViewModel is no longer garbage collected (my view too). Is this a bug, or is this me doing something dumb? Here is my MeetingPageViewModel: public class MeetingPageViewModel :…
Gordon
  • 3,012
  • 2
  • 26
  • 35
0
votes
1 answer

Subscribing to changes in a nested list with a property bound to a checkbox

I am trying to prevent the user from continuing until they have selected at least one item in a list. The list is a bound to a separate view control inside the main view and the list viewmodel has a bool with 2 way binding to a checkbox in its view.…
Dave Timmins
  • 331
  • 2
  • 6
0
votes
1 answer

The type 'ReactiveUI.ReactiveObject' is defined in an assembly that is not referenced

Error 8 The type 'ReactiveUI.ReactiveObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'ReactiveUI, Version=6.0.3.0, Culture=neutral, PublicKeyToken=null'.…
Kishore Kumar
  • 12,675
  • 27
  • 97
  • 154
0
votes
2 answers

Rx.NET 'Distinct' to get the lastest value?

I'm new to Rx and I'm trying to make a GUI to display stock market data. The concept is a bit like ReactiveTrader, but I'll need to display the whole "depth", i.e., all prices and their buy/sell quantities in the market instead of only the "top…
Ralph Zhang
  • 5,015
  • 5
  • 30
  • 40
0
votes
1 answer

ReactiveUI ToProperty exceptions

We have been trying to get ToProperty to work correctly but are experiencing exceptions which aren't being caught by ThrownExceptions. Our test view model looks like: public class ViewModel : ReactiveObject, ISupportsActivation { private…
jamie
  • 1,224
  • 1
  • 11
  • 19
0
votes
0 answers

ReactiveUI How to add condition using WhenAny?

I'm trying to use WhenAny (Reactive UI) for the first time. When a Identifier =="xyz" and a IsMax field get changes, want to set a local value to true in the subscribe. this.WhenAny(x => x.IsMax, x => x.Value).Subscribe(x => { …
user3106005
  • 179
  • 3
  • 20
0
votes
1 answer

Xamarin Form Reactive UI MasterDetailPage

Currently I have using reactiveui RoutedViewHost to navigate around my Android app. I wanted to use the new MasterDetailPage, is it supported in reactiveui?
0
votes
2 answers

meteor piechart doesn't show up completely

Here is the JS code that I'm using to render a pieChart on a web page using Meteor. The problem I have is that this code almost works except that the chart when displayed shows on the legends and labels but we cannot see pie(it is just empty). The…
Greenhorn
  • 580
  • 6
  • 20