2.8 KiB
2.8 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||||
|---|---|---|---|---|---|---|---|---|---|
|
2026-04-17T16:11:25.310253+00:00 | zai-org/GLM-5-FP8 | 1 | 69a4590b22ea60d6 |
Classes
Purpose
This module provides UI helper classes for the DTS Viewer WPF application. It includes a BindingProxy for enabling data binding in contexts where the data context is not directly accessible (e.g., within style setters), and a ComponentsGroupControl custom control for displaying grouped UI components with an image and title. Several placeholder classes (MenuItem, TabItem, NavigationItem) exist but contain no implementation.
Public Interface
BindingProxy (inherits Freezable)
protected override Freezable CreateInstanceCore()- Creates a new instance ofBindingProxy. Required override forFreezableinheritance.public static readonly DependencyProperty DataProperty- Dependency property identifier forData.public object Data { get; set; }- Gets or sets the data object to proxy for binding purposes.
ComponentsGroupControl (inherits Control)
public class ClickEventArgs : EventArgs- Nested event args class with default constructor.public static RoutedCommand ClickCommand { get; }- Static routed command for click handling.public static readonly DependencyProperty ImageProperty- Dependency property identifier forImage.public ImageSource Image { get; set; }- Gets or sets the image source for the control.public static readonly DependencyProperty TitleProperty- Dependency property identifier forTitle.public string Title { get; set; }- Gets or sets the title text; default value is "Title".
MenuItem
- No public members defined (empty class).
TabItem
- No public members defined (empty class).
NavigationItem
- No public members defined (empty class).
Invariants
BindingProxymust inherit fromFreezableto participate in the WPF property system and support data binding in style setters.ComponentsGroupControlregisters a default style key viaDefaultStyleKeyProperty.OverrideMetadatain its static constructor, implying a XAML style/template must exist elsewhere.ComponentsGroupControl.ClickCommandis registered at the class level viaCommandManager.RegisterClassCommandBinding.
Dependencies
- Depends on:
System.Windows,System.Windows.Controls,System.Windows.Input,System.Windows.Media. - Depended on by: Unclear from source alone; likely used in DTS Viewer views and XAML templates.
Gotchas
- Commented-out code:
ComponentsGroupControlcontains commented