36 lines
1.8 KiB
Markdown
36 lines
1.8 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- DTS Viewer/DTS.Viewer.Reports/DTS.Viewer.PSDReportResults/View/PSDReportResultsView.xaml.cs
|
||
|
|
generated_at: "2026-04-17T16:28:49.882661+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "6ffd6c8f349a4d16"
|
||
|
|
---
|
||
|
|
|
||
|
|
# View
|
||
|
|
|
||
|
|
### Purpose
|
||
|
|
This module provides a WPF view component for displaying PSD (Particle Size Distribution) report results. It serves as the code-behind file for a XAML-based user interface, implementing the `IPSDReportResultsView` interface to integrate with the broader DTS reporting infrastructure.
|
||
|
|
|
||
|
|
### Public Interface
|
||
|
|
|
||
|
|
**`PSDReportResultsView`** (class, partial)
|
||
|
|
- Constructor: `PSDReportResultsView()` - Initializes the component via `InitializeComponent()`.
|
||
|
|
- Implements: `IPSDReportResultsView`
|
||
|
|
|
||
|
|
**Event Handlers:**
|
||
|
|
- `GridViewColumnHeader_OnClick(object sender, System.Windows.RoutedEventArgs e)` - Handler for column header click events. Currently empty implementation.
|
||
|
|
- `GridViewColumnHeaderSearchable_OnSearch(object sender, System.Windows.RoutedEventArgs e)` - Handler for searchable column header search events. Currently empty implementation.
|
||
|
|
|
||
|
|
### Invariants
|
||
|
|
- The class must be used as a code-behind partial class paired with a corresponding XAML file (`PSDReportResultsView.xaml`).
|
||
|
|
- The class implements `IPSDReportResultsView`, implying it is intended to be resolved through dependency injection.
|
||
|
|
|
||
|
|
### Dependencies
|
||
|
|
- **Depends on:** `DTS.Common.Interface` (for `IPSDReportResultsView` interface)
|
||
|
|
- **Depends on:** `System.Windows` (WPF infrastructure for `RoutedEventArgs`)
|
||
|
|
|
||
|
|
### Gotchas
|
||
|
|
- Both event handlers (`GridViewColumnHeader_OnClick` and `GridViewColumnHeaderSearchable_OnSearch`) have empty implementations. The intended behavior is unclear from source alone—these may be stubs for future functionality or remnants of removed features.
|
||
|
|
|
||
|
|
---
|