Skip to content

Conversation

yanjinhuagood
Copy link
Member

This pull request makes several updates to resource inclusion, dependency versions, and XAML theme definitions for the project. The main focus is on refining window and slider control templates, updating resource management, and correcting some property bindings and naming conventions for better maintainability and compatibility.

Revise the issue:
#170
#171
#172
#168

Theme and Control Template Improvements:

  • Removed the WindowStyle=None setter and unnecessary ControlTemplate.Resources and Grid background style from Generic.xaml and Theme.xaml, simplifying the window template and reducing redundant styling. (F42892e7L7R7, [1] [2] [3]
  • Modified the window title bar and control templates to add a separate Border for the title background and moved Background properties accordingly. Also, updated button Name attributes to x:Name for consistency and XAML best practices. [1] [2] [3] [4] [5] [6] Fa8ed94bL719R719, [7] [8] [9]
  • Removed the Background property from the PART_HighTitleBar control, as it is now handled by the new Border. [1] [2]

Slider and Binding Adjustments:

  • Changed RelativeSource in slider CornerRadius bindings from TemplatedParent to AncestorType=Slider for more accurate property resolution.
  • Added IsMoveToPointEnabled=True to the default slider style to enhance slider usability.

Resource and Dependency Updates:

  • Added a new resource inclusion for all .jpg images in the IconicThumbnail directory, improving resource management.
  • Updated Microsoft.Win32.SystemEvents package references to older versions for net7.0-windows and net6.0-windows targets, likely for compatibility reasons. [1] [2]

Minor Cleanups:

  • Removed an unused blackout Line element from the calendar day button template.

These changes collectively improve the clarity, maintainability, and compatibility of the project's resource and theme management.



Display Meesage at the top of the external window
MaxButton MouseOver Opacity
MaxButton MouseOver Opacity
Mode 2 add  DataGridTemplateColumn  ComboBox
@yanjinhuagood yanjinhuagood merged commit e40dbf1 into master Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant