This guide describes how to update your code to be fully compatible with Catel 4.1.
We have reverted the change to force you to use async code on the IUIVisualizerService. There are now 2 options:
var result = uiVisualizerService.ShowDialog<MyViewModel>(); // Window is closed here (synchronous behavior)
var result = await uiVisualizerService.ShowDialogAsync<MyViewModel>(); // Window is closed here thanks to the await keyword
We would like to thank the following contributors:
Want to contribute to the documentation? We have a guide for that!
Have a question about Catel? Use StackOverflow with the Catel tag!