creating-wpf-dialogs

Solid

Creates WPF dialog windows including modal dialogs, MessageBox, and common dialogs. Use when implementing confirmation prompts, settings windows, or file/folder pickers.

Data & Documents 40 stars 6 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
40
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# WPF Dialog Patterns > **MVVM Framework Rule**: `.claude/rules/dotnet/wpf/mvvm-framework.md` 설정에 따라 코드 스타일이 결정됩니다. > Prism 9 사용 시 → [PRISM.md](PRISM.md) 참조 Creating and managing dialog windows for user interaction. **Advanced Patterns:** See [ADVANCED.md](ADVANCED.md) for MVVM dialog service, modeless dialogs, and input dialogs. ## 1. Dialog Types Overview ``` Dialog Types ├── Modal Dialogs (ShowDialog) │ ├── Custom Window dialogs │ └── MessageBox ├── Modeless Dialogs (Show) │ └── Tool windows, floating panels └── Common Dialogs ├── OpenFileDialog ├── SaveFileDialog └── FolderBrowserDialog ``` --- ## 2. MessageBox ### 2.1 Basic Usage ```csharp // Simple message MessageBox.Show("Operation completed successfully."); // With title MessageBox.Show("File saved.", "Success"); // With buttons var result = MessageBox.Show( "Do you want to save changes?", "Confirm", MessageBoxButton.YesNoCancel); // With icon MessageBox.Show( "An error occurred.", "Error", MessageBoxButton.OK, MessageBoxImage.Error); ``` ### 2.2 MessageBox Options **Buttons:** | Value | Buttons | |-------|---------| | OK | OK | | OKCancel | OK, Cancel | | YesNo | Yes, No | | YesNoCancel | Yes, No, Cancel | **Icons:** | Value | Icon | |-------|------| | None | No icon | | Information | Info circle | | Warning | Warning triangle | | Error | Red X | ### 2.3 Processing Results ```csharp var result = MessageBox.Show( "Are you sure you want to delete this i...

Details

Author
christian289
Repository
christian289/dotnet-with-claudecode
Created
7 months ago
Last Updated
6 days ago
Language
C#
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category