I have a RibbonTab defined in a Resource file (xaml resources) and i need to add it to the ribbon's tabs collection.
How do i do that? (In xaml)
The Ribbon in xaml is something like that:
<Ribbon>
<Ribbon.Tabs><Ribbon.Tabs/>
</Ribbon>
So it holds a collection of tabs, i don't know how to insert a tab stored in the static resources.
Thank you in advance :) Teodor
edit: This is the WPF Microsoft ribbon
Edit 2: I tried using <DynamicResource ResourceKey="MyTabKey" />
but i get this error:
Property 'Tabs' does not support values of type 'DynamicResourceExtension'