-
Notifications
You must be signed in to change notification settings - Fork 184
First set of WPF control refresh #2182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Migrated AllTemplates.csproj from legacy .NET Framework format to modern SDK-style project format. Updated target framework from .NET Framework 4.8 to .NET 10.0 with Windows support. Removed verbose MSBuild configuration, manual reference declarations, and legacy Properties/AssemblyInfo.cs file. The new format uses implicit references and modern .NET project structure while maintaining WPF functionality through UseWPF property.
Removed Microsoft.CSharp and System.Data.DataSetExtensions references from the AllTemplates.csproj file as they were not being used in the WPF templates project. This cleanup reduces unnecessary dependencies and simplifies the project configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds WPF control reference material by including source code for generating screenshots of all WPF controls and updating the documentation with redesigned control reference content, new images, and improved documentation structure.
Changes:
- Added a C# project with XAML pages demonstrating all WPF controls for screenshot generation.
- Consolidated styles and templates documentation into main control files.
- Updated control documentation with new images and refreshed content.
Reviewed changes
Copilot reviewed 258 out of 390 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| dotnet-desktop-guide/wpf/controls/snippets/shared/reference/csharp/AllTemplatesCS.csproj | Targets net10.0-windows for the WPF control reference project. |
| dotnet-desktop-guide/wpf/controls/snippets/shared/reference/csharp/Pages/*.xaml | XAML demonstration pages for various WPF controls. |
| dotnet-desktop-guide/wpf/controls/snippets/shared/reference/csharp/Pages/*.xaml.cs | Code-behind files for XAML demonstration pages. |
| dotnet-desktop-guide/wpf/controls/snippets/contextmenu/net/csharp/* | C# ContextMenu example snippets updated to net10.0-windows. |
| dotnet-desktop-guide/wpf/controls/snippets/contextmenu/net/vb/* | Visual Basic ContextMenu example snippets updated to net10.0-windows. |
| dotnet-desktop-guide/wpf/controls/snippets/border/net/csharp/BorderExamples/* | Border control example snippets updated to net10.0-windows. |
| dotnet-desktop-guide/wpf/controls/snippets/bulletdecorator/net/csharp/BulletDecoratorExamples/* | BulletDecorator control example snippets updated to net10.0-windows. |
| dotnet-desktop-guide/wpf/controls/*.md | Control documentation updated with styles/templates sections and refreshed metadata. |
| .github/projects/xaml/control-reference/*.md | Reference metadata files for WPF controls. |
| .github/prompts/*.prompt.md | AI agent prompts for documentation tasks. |
| .markdownlint-cli2.jsonc | Markdown linting configuration updated. |
Summary
Contributes to #1988
Link to review only *.md files
Internal previews
Toggle expand/collapse
Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.