Contextual tabs do not inherit their group's color

Ribbon for WPF Forum

Posted 5 years ago by Greg Kilmatead
Version: 18.1.0675
Platform: .NET 4.6
Environment: Windows 7 (64-bit)
Avatar

Hello,

I'm having a problem with contextual tabs- they don't iherit the color from their groups.
In the Ribbon demo, you have a pink "Picture Tools" contextual group with a "Format" tab that uses the same color as its group.

When I am trying to do the same, the tabs use the default color.

I have made a video to better illustrate the issue: https://imgur.com/sVBN2Rc

[Modified 5 years ago]

Comments (3)

Answer - Posted 5 years ago by Greg Kilmatead
Avatar

Hello,
I just realized that contextual tabs colors work as intended if the Ribbon is used within a Ribbon Window.

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

Hi Greg,

A side note, the themes:ThemeManager.Theme attached property is just for some testing and shouldn't generally be used.  Set the ThemeManager.CurrentTheme property instead to set an app-wide theme.

We found a couple problems in how the tab and group content borders are rendered and ironed them out for the next maintenance release.


Actipro Software Support

Posted 5 years ago by Greg Kilmatead
Avatar

Hello,
Yes, I am using the ThemeManager.CurrentTheme property to set the theme application wide, I only use themes:ThemeManager.Theme to preview themes applied to a control at design-time.
Thank you for the reply.

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

Add Comment

Please log in to a validated account to post comments.