Close event for Backstage

Ribbon for WPF Forum

Posted 2 years 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 2 years 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 (v24.1.3) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.