2.0 KiB
2.0 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T15:59:09.942314+00:00 | zai-org/GLM-5-FP8 | 1 | c9d1783e08ad7d07 |
Documentation: StatusAndProgressBar Module
1. Purpose
This module provides ViewModel implementations for status and progress bar UI components within a WPF/Prism-based application. It contains two distinct ViewModels: StatusAndProgressFooterViewModel for a footer-level progress indicator, and StatusAndProgressBarViewModel for contextual status/progress displays. Both classes subscribe to pub/sub events (ProgressBarEvent and StatusAndProgressBarEvent) to receive updates from decoupled components, exposing bindable properties for progress text, value, and visibility to their associated views.
2. Public Interface
StatusAndProgressFooterViewModel
Signature: public class StatusAndProgressFooterViewModel : BaseViewModel<IStatusAndProgressBarFooterViewModel>, IStatusAndProgressBarFooterViewModel
| Member | Signature | Description |
|---|---|---|
| Constructor | StatusAndProgressFooterViewModel(IStatusAndProgressFooterView view, IRegionManager regionManager, IEventAggregator eventAggregator, IUnityContainer unityContainer) |
Initializes the ViewModel, sets the View's DataContext, creates interaction requests, and subscribes to ProgressBarEvent. |
| View | IStatusAndProgressFooterView |
Gets or sets the associated view interface. |
| Parent | IBaseViewModel |
Gets or sets the parent ViewModel. |
| NotificationRequest | InteractionRequest<Notification> |
Gets the notification interaction request. |
| ConfirmationRequest | InteractionRequest<Confirmation> |
Gets the confirmation interaction request. |
| IsMenuIncluded | bool |
Gets or sets menu inclusion flag (hides base member). |
| IsNavigationIncluded | bool |
Gets or sets navigation inclusion flag (hides base member). |
| IsBusy |