Repository navigation
v0.2.0
What's Changed
- feat:split net40 workflows and enable net40 build on hosted runner by @yanjinhuagood in #268
- merge branch master into 0.2.0 by @yanjinhuagood in #269
- ci: limit builds to master branch only by @yanjinhuagood in #270
- merge dev into 0.2.0 by @yanjinhuagood in #271
- merge Dev into 0.2.0 by @yanjinhuagood in #272
- merge dev into 0.2.0 by @yanjinhuagood in #273
- merge Dev into 0.2.0 by @yanjinhuagood in #274
Full Changelog: v0.1.0...v0.2.0
This pull request introduces several improvements and updates across the workflow configuration, documentation, sample code, and project settings. The main focus areas include enhancing theme switching in the sample application, updating build workflows to support additional resource files and folder naming conventions, adding MarkdownViewer documentation, and incrementing the package version.
Key changes:
1. Theme Switching Improvements in Sample Application
- Replaced the previous toggle button for theme switching in
ThemeExamplewith a segmented control for a more intuitive UI, and updated the logic to use this new control (ThemeExample.xaml,ThemeExample.xaml.cs). [1] [2] [3] - Improved the main window's theme and color switch UI, including new icons, better popup handling, and dedicated event handlers (
MainWindow.xaml,MainWindow.xaml.cs). [1] [2] [3]
2. Build Workflow Enhancements
- Updated GitHub Actions workflows to trigger on
masteronly (notmain), added pull request triggers, and included additional resource DLLs in the build artifacts for both .NET 4.0 and 4.5x builds (build-net40.yml,build-net45x.yml). [1] [2] [3] [4] - Introduced a step in the .NET 4.5x workflow to rename output folders for better compatibility (
build-net45x.yml).
3. Documentation Updates
- Added English and Chinese documentation for the new
MarkdownViewercontrol, including usage examples and links to sample code (getting-started.md). [1] [2]
4. Sample Application Additions and Cleanups
- Added a new Gauge example with offset support (
GaugeExample.xaml). - Removed the obsolete
WindowBasicExamplesample and its code-behind to clean up unused files. [1] [2]
5. Project and Versioning Updates
- Bumped the package version from
0.1.0.0to0.2.0.0inPackage.propsto reflect new features and changes. - Removed
<SignAssembly>True</SignAssembly>from .NET 4.0 and 4.5x project files to simplify build configuration (WPFDevelopers.Net40.csproj,WPFDevelopers.Net45x.csproj). [1] [2]