Close event for Backstage

Ribbon for WPF Forum

Posted 11 months ago by Luke
Version: 22.1.4
Avatar

Hi, we just recently upgraded from v17 and part of our existing code need to be run at time the backstage closed. We used to subscribe to the Unloaded event of Backstage to achieve it, however since the upgrade, looks like it's no longer fired. Furthermore we've encountered strange behaviour that both Unloaded and Loaded fired when we open up the Backstage instead. Not sure there's a behaviour changes for closing the Backstage in the new version, if that's the case, what would be the recommended way to achieve it? Thanks.

Comments (1)

Posted 11 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Luke,

The Ribbon.IsApplicationMenuOpenChanged event fires whenever the Backstage opens or closes.  You can check the Ribbon.IsApplicationMenuOpen property to see its current state.  That's generally the recommended way to take action as Backstage opens and closes.


Actipro Software Support

The latest build of this product (v23.1.4) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.