1.7 KiB
1.7 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |
|---|---|---|---|---|---|
|
2026-04-17T16:13:30.756881+00:00 | zai-org/GLM-5-FP8 | 1 | 5f012e08f6e61377 |
View
Purpose
The NavigationViewModel class serves as the ViewModel component for the navigation region in a Prism-based WPF application. It manages the ContextNavigationRegion content area, handles notification display via event aggregation, and coordinates with a parent IShellViewModel. This module exists to decouple navigation logic from the view while providing notification capabilities through the Prism InteractionRequest pattern.
Public Interface
Constructor
NavigationViewModel(INavigationView view, IRegionManager regionManager, IEventAggregator eventAggregator, IUnityContainer unityContainer)— Initializes the view model, sets the view's DataContext, createsNotificationRequestandConfirmationRequestinteraction requests, and subscribes to theRaiseNotificationevent.
Properties
INavigationView NavigationView { get; }— Returns the associated navigation view instance.InteractionRequest<Notification> NotificationRequest { get; }— Interaction request for displaying notifications.InteractionRequest<Confirmation> ConfirmationRequest { get; }— Interaction request for displaying confirmations.object ContextNavigationRegion { get; set; }— Gets or sets the content of theNavigationRegionfrom the underlyingNavigationView. RaisesOnPropertyChangedon set.string HeaderInfo { get; }— Always returns"NavigationRegion".bool IsBusy { get; set; }— ThrowsNotImplementedExceptionon both getter and setter.- `bool IsDirty { get;