The default behavior of SplitButton when isChecked = "True"

Ribbon for WPF Forum

Posted 4 years ago by Farouk Bouali
Version: 19.1.0683


I updated my app to the new release,

in the old release (v2016) when the splitbutton ischeked = "true" there is no border int the split button contour just highleted to light blue.

in the new version when the splitbutton ischeked = "true" there is a blue border and a blue separator in the splitbutton.

I want to remove the blue border and the blue separator,

how to do that?

Thank you.

Comments (1)

Answer - Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Frank,

That may have changed since it was sometimes difficult to distinguish a hovered/focused button from a checked button.

For MetroLight theme, you could put this in your App's Resources to make the borders the same color as the background, which is effectively what 2016.1 did:

<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBorderCheckedHoverBrushKey}" Color="#FFD0E2F0" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolBarButtonBorderCheckedNormalBrushKey}" Color="#FFBAD3E7" />

Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.