devexpress-wpf-mvvm
Installation
SKILL.md
DevExpress WPF MVVM Framework
DevExpress.Mvvm is a full-featured MVVM framework for WPF — view-model base classes, code generators (compile-time and runtime), commands (sync and async), 25+ predefined services for typical UI tasks (message boxes, dialogs, document management, dispatcher, navigation, splash screens), behaviors that replace code-behind, and three view-model-communication mechanisms (parameter passing, parent-child relationships, messenger).
This skill covers picking the right view-model strategy, defining bindable properties and commands, calling services from view models, attaching behaviors, and routing data between view models.
When to Use This Skill
Use this skill when you need to:
- Pick a view-model strategy for a new or existing project
- Generate boilerplate code (properties, INotifyPropertyChanged, commands) at compile time
- Wire commands (sync
DelegateCommandor asyncAsyncCommand) to methods - Show message boxes / dialogs / file pickers / notifications from a view model
- Replace code-behind event handlers with behaviors (
EventToCommand,KeyToCommand, ...) - Pass initial data to a child view model (
ISupportParameter) - Access services registered on the parent view's view model from a child (
ISupportParentViewModel) - Broadcast notifications across loosely coupled view models (
Messenger)