You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of default styles that don't set template bindings correctly. I give an example for ListBoxItem below but there are other similar cases:
robert-abeo
changed the title
ListBoxItem (Et al..) Missing Bindings in ControlTemplate
Fluent2 ListBoxItem Style (Et al..) Missing Bindings in ControlTemplate
Aug 13, 2024
Description
There are a lot of default styles that don't set template bindings correctly. I give an example for ListBoxItem below but there are other similar cases:
wpf/src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/ListBoxItem.xaml
Lines 26 to 29 in d21766c
Should be:
The Background/Border properties should be settable on the control itself and carried through to the template. These should NOT be hard-coded.
Reproduction Steps
See current Fluent2 theme
Expected behavior
Control templates should have all applicable template bindings.
Actual behavior
Control templates are missing several template bindings.
Regression?
No response
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: