Showing and hiding the backstage through MVVM

I am writing an application using MVVM and I have a mainViewModel attached to the data context of the main window which contains a ribbon control. The mainViewModel  has a selectedModel property and when that property is null, the application should only show the ribbon window's backstage and not allow access to any other ribbon tab or the mainWindow itself. Once the selectedModel property is set (this would happen through a bound command on the backstage), the backstage would close and make visible the main window and the other relevant ribbon tabs.

I know there is a ShowBackstage and a HideBackstage method available, but I would prefer to base the showing and hiding of the backstage through a bound property or bound command located in the ViewModel. Is this possible and if so, how do I go about implementing this approach?

If not, is there a way to access the ShowBackstage and HideBackstage methods through a view model property or command?

Thank you


5 Replies

VI Vinothini Syncfusion Team October 31, 2017 06:36 AM UTC

Hi Paul, 
 
Thank you for contacting Syncfusion support. 
 
At present there is no support for closing and opening of backstage through property or command in MVVM. We have already added this requirement into our feature management list and this feature will be available in any of our upcoming releases.  
 
Regards, 
Vinothini.R 
 
 



TA takthetank April 2, 2019 07:28 PM UTC

Hello, is there any update in that request?
I also need this...


JP Jagadeesan Pichaimuthu Syncfusion Team April 3, 2019 12:09 PM UTC

Hi Takis, 
 
Thanks for your update. 
 
We will implement this feature in our upcoming 2019 Volume 2 release which is expected on end of June, 2019. 
 
We appreciate your patience until then. 
 
Regards, 
Jagadeesan 



EB Eric Bowman September 30, 2019 05:48 PM UTC

Has this feature been released? If so how do I use it?


VR Vijayalakshmi Roopkumar Syncfusion Team October 1, 2019 09:26 AM UTC

Hi Eric 

Thank you for contacting Syncfusion Support. 

Yes the reported implementation "Option to show/hide BackStage" with Ribbon has been implemented in our Essential studio volume 2 Beta release 2019 [v17.2.0.28]. In our Ribbon, we have implemented the property named IsBackStageVisible property for programmatically handling the Hide and Show Backstage functionality of Ribbon. We have also attached the sample for your reference for Property Binding and command binding purpose. 



Please  let us know if you have any other concerns on this. 

Regards 
Vijayalakshmi  V.R. 


Loader.
Up arrow icon