init
This commit is contained in:
34
docs/ai/DataPRO/Modules/StatusAndProgressBar/ViewModel.md
Normal file
34
docs/ai/DataPRO/Modules/StatusAndProgressBar/ViewModel.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
source_files:
|
||||
- DataPRO/Modules/StatusAndProgressBar/ViewModel/StatusAndProgressFooterViewModel.cs
|
||||
- DataPRO/Modules/StatusAndProgressBar/ViewModel/StatusAndProgressBarViewModel.cs
|
||||
generated_at: "2026-04-17T15:59:09.942314+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "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
|
||||
Reference in New Issue
Block a user