Using Tabs outside of Ribbon

Ribbon for WPF Forum

Posted 11 years ago by Matt
Avatar
How can I use the tabstrip outside of ribbon maintaining same style as ribbon. At the moment its invisible until you hover over it and then its very different to those found in ribbon?

Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Correct it is designed to be transparent except for hover or selection effects. Without trying an example (so it may not be exactly right) you may just want to use this in the background of the tabstrip's container:
{DynamicResource {ComponentResourceKey TypeInTargetAssembly={x:Type ribbon:Ribbon},ResourceId=RibbonBackgroundBrush}}
[Modified at 02/21/2008 02:36 PM]


Actipro Software Support

Posted 11 years ago by Matt
Avatar
Its seems probably best to stick to recommended control for use outside Ribbon, which fair enough. It be great to be able to style the WPF TabControl similar to the ribbon, any suggestions?
Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
One part of the new theme framework mentioned in our blog post from today is making brushes used in themes available for use anywhere. You already can do some of this with the current v3.0 setup but in v3.5, we hope to have a class with brush resource keys as members of that class.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.