C# (CSharp) Catel.MVVM.Views Namespace

Сlasses

Name Description
ViewExtensions
ViewLoadManager Manager that handles top => bottom loaded events for all views inside an application.

The reason this class is built is that in non-WPF technologies, the visual tree is loaded from bottom => top. However, Catel heavily relies on the order to be top => bottom. This manager subscribes to both the Loaded and LayoutUpdated events. This is because in a nested scenario this will happen: Will be executed in the following order: Loaded (UC 3). Loaded (UC 2). Loaded (UC 1). LayoutUpdated (UC 1). LayoutUpdated (UC 2). LayoutUpdated (UC 3).
ViewLoadManager.UninitializedViewInfo
ViewManager Manager that can search for views belonging to a view model.
ViewStack Class containing a view stack and whether the stack is currently loaded.
ViewToViewModelMappingContainer Container class for ViewToViewModelMapping elements.
ViewToViewModelMappingHelper Helper class to fix ViewToViewModelMapping for IView.
WeakViewInfo Class containing weak events for a IView. This way it is safe to subscribe to events of a IView without causing memory leaks.