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

Asynchronous Command ReactiveUI migrate from 4.6.1 to 7.0

How can I convert this into ReactiveCommand from 7.0: private void SetCanRunProcessCommand() { _runProcessCommand = new ReactiveAsyncCommand(CanRunProcess(null)); _runProcessCommand.RegisterAsyncAction(RunProcess); …
MistyK
  • 6,055
  • 2
  • 42
  • 76
0
votes
1 answer

ReactiveCommand disabled after migration to 6.5.0

I'm migrating from reactive 4.5 to 6.5.0 and I encounter some issues. I have a WPF app with button bound to ReactiveCommand. Previously I was using ReactiveCommand constructor like this: _runProcessCommand = new…
MistyK
  • 6,055
  • 2
  • 42
  • 76
0
votes
1 answer

Dynamically generating 2D grid with row and column headers

I'm starting out with an IReactiveList where: interface ICoordViewModel { object X {get;} object Y {get;} ViewModel ViewModel {get;} } I'd like to create a grid from this list where the view for each ViewModel is located at…
ket
  • 728
  • 7
  • 22
0
votes
2 answers

How to use trigger on one observable to suppress trigger on another?

Let's say I have two observables Obs1 and Obs2. I want a trigger on Obs1 to suppress the subsequent trigger on Obs2 (marble diagram below). How do I do this? Obs1---x---x--x---- Obs2----yyy-yy-yyyy Rslt-----yy--y--yyy Specifically, I have a class…
ket
  • 728
  • 7
  • 22
0
votes
1 answer

ListBox not populated in UWP with ReactiveUI

Just to get this out there - I am a complete newbie at XAML, Univeral Apps and ReactiveUI, so I'm probably missing something simple here. To get a handle on ReactiveUI I thought I would try to port the ReactiveUI WPF Flickr sample from the…
SheriSteeves
  • 55
  • 1
  • 7
0
votes
1 answer

ReactiveUI: Property not updating

Not sure what I'm doing wrong: private at = "0"; public string AT { get { return aT; } set { aT = value; …
Tyress
  • 3,573
  • 2
  • 22
  • 45
0
votes
1 answer

ReactiveCommand: CanExecute not updating

I'm trying to create a ReactiveCommand within the constructor of a ViewModel: IObservable canExecute = this .WhenAnyValue(x => x.InsertableItems, x => x.IsRefreshing, (insertableItems, isRefreshing) => !isRefreshing && insertableItems >…
Bogey
  • 4,926
  • 4
  • 32
  • 57
0
votes
1 answer

ReactiveList not propagating updates to IValueConverter

I have a property composed of email addresses of operators currently editing a record: public ReactiveList Operators { get; set; } On the view side, I have a ListView of records, and for each of them an icon shows if the current user is…
ericdes
  • 612
  • 1
  • 6
  • 12
0
votes
1 answer

How to use ReactiveUI with WinForms

I have decided to learn ReactiveUI after seeing what can be done with it, but my enthusiasm has been broken at the first attempt to run a simple project. I have recreated the example from this article, using reactiveui-winforms.Net40 version 6.5.0…
0
votes
1 answer

What is the best way to bind dynamically created control to a property in reactiveui?

I'm using ReactiveUI for Winforms 6.5. I'm trying to bind dynamically created textbox to a ViewModel property. Bind method doesnt allow to create such a binding.Is there any way to create binding in runtime?
wchtej
  • 15
  • 1
  • 4
0
votes
2 answers

Simple ReactiveUI object property don't fire

I am new to ReactiveUI, and I am trying to make a simple reactive object with reactive properties. I am failing to get the notification when the property is set. This is my code: using System; using System.Collections.Generic; using…
ShaulF
  • 841
  • 10
  • 17
0
votes
1 answer

WhenAny / ObservableForProperty how to access previous and new value?

Simple case: public class Foo : ReactiveObject { public Foo() { this.ObservableForProperty(t => t.Bar, t => t).Subscribe(t => { //Logic using previous and new value for Bar } } private int _bar; …
Dunge
  • 89
  • 1
  • 11
0
votes
0 answers

ReactiveUI and XAML ItemsSource updating to changes in ReactiveList

I have an ItemsSource bound to a ReactiveList using this.WhenActivated(d => { d(this.OneWayBind(this.ViewModel, x => x.Pool.ToBill, x => x.ToBillListBox.ItemsSource)); }); which fills a ListBox when the…
ericdes
  • 612
  • 1
  • 6
  • 12
0
votes
1 answer

Equivalence in ReactiveUI?

I have this property inside a ReactiveObject: bool IsValid => Children.All(child => child.IsValid); The problem is that, of course, it doesn't raise any change notification when children are modified (their "IsValid" property). How is this done the…
SuperJMN
  • 13,110
  • 16
  • 86
  • 185
0
votes
1 answer

Paging ListBox with ReactiveUI and Caliburn.Micro

I'm trying to implement a paging mechanism for a listbox using Caliburn.Micro.ReactiveUI with a call to EF using ".Skip(currentPage).Take(pageSize)". I'm new to ReactiveUI and Reactive in general. I'm sure this is supposed to be easy. I've got a…
Sean
  • 868
  • 9
  • 22