I have an issue where every single view model that inherits from Catel.MVVM.ViewModel is never calling InitializeAsync(). What could I be missing that blocks this call?
Catel.MVVM.ViewModel
InitializeAsync()
I'm using Catel.MVVM v5.12.22.
The fix is to change the control type from UserControl to catel:UserControl.
UserControl
catel:UserControl
<catel:UserControl xmlns:catel="http://schemas.catelproject.com">
Edit: you might want to include validation messages.
<catel:UserControl> <catel:InfoBarMessageControl> [XAML Goes Here] </catel:InfoBarMessageControl> </catel:UserControl>
The fix is to change the control type from
UserControltocatel:UserControl.Edit: you might want to include validation messages.