Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Interactions like in ReactiveUI #267

Open
fubar-coder opened this issue Oct 26, 2024 · 0 comments
Open

Feature: Interactions like in ReactiveUI #267

fubar-coder opened this issue Oct 26, 2024 · 0 comments

Comments

@fubar-coder
Copy link

Short description

It'd be nice to have a better separation between UI and the ViewModel by providing Interactions like those provided by ReactiveUI.

Use case

I stumbled upon the "problem" that I had to show a message box and wanted to set the parent window, which is not available in the ViewModel. IOW: I'd like to:

  • Show a dialog
  • Set the owner of the dialog
  • Return the result of the dialog

Example

The view model should be able to create an instance of a Interaction<TInput, TOutput>, which the view must connect to, to do its interactive UI stuff. The Reactive UI documentation contains a description of the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant