Hello,
We are using an overridden style of the Metro theme for the XamTabControl and have set the Header area's background color to transparent. We are now having an issue with the scrollbar in the tab header being too light to see. Is there a simple way of changing the color of the glyphs for the scrollbar in the header area of the tab control?
Thank you,
-Zachary Burton
Hello Zachary,
Thank you for confirming the behavior you are looking for.
In order to change this, I would recommend including the default MetroDark styles for the Scroll<X>ButtonStyleKey styles, where <X> in this case is one of the arrow directions. I would also recommend including the RepeatButton style with the x:Key of PagerScrollButtonBaseStyle that each of these styles are based on. These styles can be found within the PrimitivesMetro.xaml file commonly found at the following directory with Infragistics controls installed:
C:\Program Files (x86)\Infragistics\<version>\WPF\DefaultStyles\Windows
From there, you can change the Opacity of the RepeatButton style from 0.7 to 1 to make the color more defined. You can also change the Fill property of the Path objects in the Scroll<X>ButtonStyleKey styles to change the actual color of the arrows as well.
I am attaching a sample project to demonstrate the above. I hope this helps.
Please let me know if you have any other questions or concerns on this matter.
TabControlStylingMetroDark.zip
This is an image of the header area in the tab control when our application is using MetroDark. What I was referring to was the up and down arrows to the left of the post tab items (help, print, etc buttons in this example) when there is too many tabs open. The arrows are clearly visible when using metro dark but when using Metro the arrows are not visible from my previous explanation. Please let me know if I can provide further explanation.
I have been investigating into the behavior you are describing, and would it be possible for you to please provide a screenshot of what you are seeing in this case? I am unsure of the scrollbar that you are referring to in this case, as I am not seeing a scrollbar in the header area of the tab control?