We are organizing the first ever ReactiveUI virtual conference, register and join us on September 19th!

Windows Forms

Windows Forms

Ensure that you install ReactiveUI.WinForms into your application.

Your viewmodels should inherit from ReactiveObject

Use IActivatableViewModel and WhenActivated for lifecycle

Keep references to your subscriptions

Use disposables to manage lifetime, scope and resources:

Don't use eventhandlers, use the extension methods shipped in reactiveui.events.winforms instead

Use your normal WinForms concepts that you would usually use in WinForms development. There's also some extension methods which will make your life easier