We have a Ribbon defined in XAML like the following...
<igRibbon:XamRibbonWindow ..... > <igRibbon:RibbonWindowContentHost> <igRibbon:RibbonWindowContentHost.Ribbon> <igRibbon:XamRibbon x:Name="ribbon" RibbonTabItemSelected="ribbon_RibbonTabItemSelected" ApplicationMenuMode="Office2010" ... > ....</igRibbon:XamRibbonWindow>private void ribbon_RibbonTabItemSelected(object sender, RibbonTabItemSelectedEventArg e) { ...}
Our Ribbon has the Application Menu File tab and a Home tab that is a RibbonTabItem. The RibbonTabItemSelectedEventArg does not seem to recognize the Application Menu File tab so the NewSelectedRibbonTabItem or PreviousSelectedRibbonTabItem on RibbonTabItemSelectedEventArgs is always null when its the Application Menu tab. Is this by design or was this overlooked in someway?
That's not a tab item so that is expected/by design. The SelectedTab goes to null when you open the application menu or application menu 2010 so the tab is not shown as selected. If you want to know when the application menu 2010 is opened then you would hook the Opened/Closed events of the menu (or bind to its IsOpen, etc).
How do you detect navigation between different SelectedTabItem's within the application menu 2010?
The only thing I've found is adding a binding to SelectedTab and watching for setters. Should be an easier event or something right?
SelectedTabItem="{Binding ElementName=ThisControl, Path=SelectedApplicationTabItem, Mode=OneWayToSource}"