Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
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:
WindowStyle=None
setter and unnecessaryControlTemplate.Resources
andGrid
background style fromGeneric.xaml
andTheme.xaml
, simplifying the window template and reducing redundant styling. (F42892e7L7R7, [1] [2] [3]Border
for the title background and movedBackground
properties accordingly. Also, updated buttonName
attributes tox:Name
for consistency and XAML best practices. [1] [2] [3] [4] [5] [6] Fa8ed94bL719R719, [7] [8] [9]Background
property from thePART_HighTitleBar
control, as it is now handled by the newBorder
. [1] [2]Slider and Binding Adjustments:
RelativeSource
in sliderCornerRadius
bindings fromTemplatedParent
toAncestorType=Slider
for more accurate property resolution.IsMoveToPointEnabled=True
to the default slider style to enhance slider usability.Resource and Dependency Updates:
.jpg
images in theIconicThumbnail
directory, improving resource management.Microsoft.Win32.SystemEvents
package references to older versions fornet7.0-windows
andnet6.0-windows
targets, likely for compatibility reasons. [1] [2]Minor Cleanups:
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.