You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is that the events needed are not raised by WPF. When a view is resolved we attach the required behaviors. If the view is a window it gets a different behavior than if it's a user control.
@ucollina82 can you explain what is the need? Why there is a need for a view shown event when using regions?
In this circumstance there was the need to understand when to initialize the viewmodel of a usercontrol (in a region) starting from the loading of the view.
It was then chosen to hook to the IExpectViewLoadedCallback event but if there is another way to do this in a Region, that's fine
It seems that in a ViewModel associated with a Region the event of IExpectViewShownCallback is not triggered
The text was updated successfully, but these errors were encountered: