Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF .NET 4.5 RibbonTab Template

$
0
0

Hello, I have tried for a long time to solve this problem. But now I gave up and search for help.

So I can not solve how to display the RibbonGroupBox'es. Anyone how could give me a lending hand? , but it only display the first tab.

<Style TargetType="RibbonTab"><Setter Property="Background" Value="White" /><Setter Property="BorderBrush" Value="Transparent"/><Setter Property="Template"><Setter.Value><ControlTemplate TargetType="RibbonTab"><!-- this part --></ControlTemplate></Setter.Value></Setter></Style>

Edit:

This work without background. But if I set a background to the grid it wont display.

<Grid><ItemsPresenter Margin="2" /></Grid>





Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>