Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've finally made the jump from Winforms to WPF for Revit addins. However I'm stumped at the moment. When I add a button to a window and change the background it remains the default grey appearance in Revit.
My code is fine as I've tested this in an external application, it appears that Revit is overriding the button style.
Regardless of whether the button background has a solidcolorbrush or an imagebrush the button appears grey.
I've tested this in Revit 2018 and 2020.
Is this a known issue?
Solved! Go to Solution.