This guide describes how to update your code to be fully compatible with Catel 4.1.
This guide assumes that you are coming from Catel 4.0. If not, please read that guide first.
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
Have a question about Catel? Use StackOverflow with the Catel tag!