Skip to content

v0.2.0

Choose a tag to compare

@yanjinhuagood yanjinhuagood released this 05 Aug 16:37
· 188 commits to master since this release
a2b5483

What's Changed

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 ThemeExample with 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 master only (not main), 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 MarkdownViewer control, 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 WindowBasicExample sample and its code-behind to clean up unused files. [1] [2]

5. Project and Versioning Updates

  • Bumped the package version from 0.1.0.0 to 0.2.0.0 in Package.props to 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]