Close event for Backstage

Ribbon for WPF Forum

Posted 1 year ago by Luke
Version: 22.1.4

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 1 year ago by Actipro Software Support - Cleveland, OH, USA

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.2) 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.