I will post the information I gave you in the support ticket here as well, just in case anyone else encounters similar issues:
Since the PreviewSelectionChanged
event is a tunneling event, it is first handled by the root elements of the visual tree and then the event travels through the child elements till it reaches the one that originally has raised it. This is why when you trigger a selection change both in the RibbonView
and in the RibbonBackstage
, the RibbonView.PreviewSelectionChanged
will be invoked first. This means that you can use only this event to handle a selection change.
Also, you need to keep in mind that in order to track the selection of a RibbonBackstageItem, the item should be selectable (its IsSelectable property should be set to True). And there are two RibbonBackstageItem properties that affect the selection:
- IsDefault - specifies whether the item should be selected when the Backstage is opened.
- IsSelected - controls the selection state of an item
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>