Fluent.Ribbon icon indicating copy to clipboard operation
Fluent.Ribbon copied to clipboard

How to set the border color for the tab during mouseover?

Open DavidHollman opened this issue 6 years ago • 2 comments
trafficstars

I have been trying to figure out how to set the border color of the tab item itself when it is highlighted due to a mouseover. Currently what I have working is the following:

No mouseover:

image

Mouseover of Tab2: image

As you can see in the mouseover case, there is no border at all (or a white border perhaps).

Which SolidColorBrush x:Key is used to control that border color? I looked through all the *Border* entries in https://github.com/fluentribbon/Fluent.Ribbon/blob/develop/Fluent.Ribbon/Themes/Themes/Theme.Template.xaml but none seem to affect it. Unless I missed it somehow.

Thank you!


Environment

  • Fluent.Ribbon v7.0,0
  • Windows 10
  • .NET Framework 4.7.2

DavidHollman avatar Nov 07 '19 19:11 DavidHollman

There currently is no real border on mouse over. The mouse over border template part has a border thickness of 0.

batzen avatar Dec 01 '19 14:12 batzen

Thanks for looking into it.

A suggestion would be to have a nonzero border but default its color to the same as the tab background. That way it would consider to look / work as it does now, by default, but would allow customization.

Personally I don't think custom alterations to the border thickness value would be needed.

DavidHollman avatar Dec 02 '19 13:12 DavidHollman