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
-1
votes
1 answer

Enable to get the ReactiveUI getting started working (WPF)

Description After downloading the getting started project from git : https://github.com/reactiveui/ReactiveUI.Samples/tree/main/wpf/getting-started I'm not able to get the xaml part working. I get the following error on the main window : The name…
Erhode
  • 152
  • 8
-1
votes
1 answer

Rx.Net + Reactive-Ui + MahApps.Metro - Repeating & retrying asynchronous request with gated dialogs

Given an observable of form: var fetchTimer = Observable.Timer(TimeSpan.FromSeconds(1)); var stateFetcher = Observable.FromAsync(async () => await _robotsClient.GetRobotsStateAsync(new GetRobotsStateRequest())); var delayedFetch =…
Clint
  • 6,133
  • 2
  • 27
  • 48
-1
votes
1 answer

Suspending a timer-based operation on failure

I've got a WPF app using ReactiveUI, and it works by periodically fetching state from an external process. Given a fetch observable as follows: var latestState = Observable.Interval(TimeSpan.FromSeconds(.5)) .SelectMany(async _ => { …
Clint
  • 6,133
  • 2
  • 27
  • 48
-1
votes
1 answer

Appium/WinAppDriver and WPF/ReactiveUI timing issue - Switching from login dialog window to application window

I'm trying to use Appium to test WPF application. The login dialog (ReactiveWindow) shows separate from main window application (ReactiveWindow) and in my test when I click the logon button, the login window closes and goes back to main window…
Rod
  • 14,529
  • 31
  • 118
  • 230
-1
votes
1 answer

Subscribing to a IObservableCollection (SourceList) containing another IObservableCollection

I have a SourceList of objects representing machines on a network and each machine itself has a SourceList of devices connected to that machine. I would like to flatten the list of devices across all machines into another SourceList, so that any…
canice
  • 363
  • 1
  • 4
  • 16
-1
votes
1 answer

ReactiveUI WhenAnyValue

i have this code, but when i run, i throw an exception. I try to read document but i'm not Know, where am i Wrong? public bool IsCanvasMouseOn { get => this._isCanvasMouseOn; set => this.RaiseAndSetIfChanged(ref _isCanvasMouseOn,…
Nguyễn Lâm
  • 19
  • 1
  • 1
-1
votes
1 answer

Observable logic is case of class inheritance

How to properly write complex observable logic is case of class inheritance? Please check an example: public class A : ReactiveObject { public A() { AProperty = new SimpleValue(); this.WhenAnyValue(x => x.AProperty) …
-1
votes
4 answers

How do I combine these two commands into one?

In the body of my class, I have this line of code: private ReactiveCommand _displayCommand = ReactiveCommand.Create(); In the class constructor, I set up a subscription: _displayCommand.Subscribe(_ => { MessageBox.Show("Button…
Contango
  • 76,540
  • 58
  • 260
  • 305
-2
votes
1 answer

ReactiveUI assign ViewModel fields in XAML

I'm making an application in WPF with ReactiveUI. I have a UserControl with a view model that has a property called Title, which is a string. How can I assign that property in XAML in the MainWindow view?
milkwood1
  • 385
  • 2
  • 3
  • 16
-2
votes
1 answer

ReactiveUI commands : How to use canexecute with static conditions

How can I do this equivalently with ReactiveUI commands? And there especially deal with the IObservable equivalent CanExecute? private readonly bool enableEdit = ctor-param; this.AddIdCommand = new DelegateCommand(AddIdExecute, ()=>enableEdit);
Robetto
  • 739
  • 7
  • 20
-2
votes
2 answers

Reactive Extensions installation package doesn't contain ReactiveUI libraries

I want to try ReactiveUI however Rx installation package doesn't contain ReactiveUI. I guess that ReactiveUI is in some standalone installation package, but I was not able to find it. Can anybody share with information whether or not ReactiveUI is…
Disposer
  • 667
  • 1
  • 7
  • 23
-3
votes
1 answer

Gold-standard Uno + ReactiveUI starter project on NET 7.0 that works

This is day 2 and I am trying to get a working starter app with Reactive UI and the Uno platform. I have been struggling with myriads of compatibility issues, runtime issues, and installation issues. I am at the point of utter desperation just to…
kyurkchyan
  • 2,260
  • 2
  • 23
  • 37
-3
votes
1 answer

How to detect double-keyboard with ReactiveUI

how to detect double-key board (like double key-Enter) With ReactiveUI
1 2 3
72
73