Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1405
Hidden visibility for RibbonTabItem
posted

Hy.

I have a question abount the RibbonTabItem. If I set the visibility to hidden, I get an empty space inside the ribbon where the RibbonTabItem was. Is this correct? It wouldn't be better to ignore the empty space and realign the RibbonTabItems?

I tryed to add a trigger were I set the width of the RibbonTabItem to 0 when the visibility is hidden. Here is the example, but it's not working.

<Style TargetType="infragisticsRibbon:RibbonTabItem">

<Style.Triggers>

<Trigger Property="Visibility" Value="Hidden">

<Setter Property="Width" Value="0"/>

</Trigger>

</Style.Triggers>

</Style>

Thanks very much for help.

Nico