What problem does it solve?
This Skill solves the challenge of building maintainable, testable WPF applications using the DevExpress MVVM Framework, eliminating repetitive boilerplate code, reducing code-behind dependencies, and ensuring correct usage of DevExpress WPF APIs and patterns to avoid hallucinations and reliance on third-party libraries.
Core Features & Use Cases
- Multiple View-Model Strategies: Choose between compile-time source generation (recommended for new projects), runtime POCO, ViewModelBase, and BindableBase to fit existing project requirements or language constraints (including VB.NET support).
- UI Service Integration: Call 25+ predefined DevExpress services (message boxes, dialogs, file pickers, navigation) directly from view models without referencing view-level code, keeping logic testable and decoupled.
- Code-Behind Replacement: Use built-in behaviors like EventToCommand and KeyToCommand to route UI events and keyboard shortcuts to view-model commands, eliminating code-behind entirely.
- Decoupled View-Model Communication: Pass data between master and detail view models, access parent view services from child view models, and broadcast notifications across loosely coupled view models using the built-in Messenger.
- Use Case: For a WPF master-detail inventory app, use this Skill to implement compile-time generated view models, wire a double-click event on a grid to an edit command, pass the selected inventory item to a detail view model, and show a confirmation dialog before deletion—all without writing code-behind.
Quick Start
Use this skill to create a new WPF project with a compile-time generated MainViewModel that has a Login command bound to a TextBox and Button, and shows a confirmation dialog via the DevExpress MessageBoxService when the command executes, following all framework best practices.