Hi ,
I'd like to programatically select a contextual tab in the ribbon. The regular Tabs have IsSelected property, but the contextual don't. How can this be achieved?
Regards,
Stevo
Hi Stevo,
The contextual tab actually contains regular TabItems. So, to select a contextual tab you'll need to:
1. Make sure the contextual tab is visible:
myRibbon.ContextualTabs[0].IsVisible = true;
2. Select the first TabItem in that contextual tab:
myRibbon.ContextualTabs[0].Tabs[0].IsSelected = true;
Hope that helps,