Border on a checked Toggle Button in the Metro Dark theme

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 2 years ago by Ilia Korjoukov
Version: 22.1.0
Avatar

Hi,

I noticed that in the 22.1.0.0 the Metro Dark theme does not render a color border on a checked toggle button. Thus, the checked and unchecked toggle buttons are different only by the background gray shades, as it's shown on the this screenshot. I think, it is a very counter-intuitive and I like the old way (when the checked toggle button had the accent color, see here) much better. Is there a simple way to override the metro themes and restore the accent border on the toggle buttons?

[Modified 2 years ago]

Comments (1)

Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Thank you for the suggestion.  We will update v22.1.1 to use an accent border color for checked toggle buttons.

The Brush resource we use for that is AssetResourceKeys.ButtonBorderCheckedBrushKey.  You can override it now in your Application.Resources if you want to change it before the v22.1.1 release.  See our Themes documentation for info on overriding brush values.


Actipro Software Support

The latest build of this product (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.