We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exit from backstage and get back to main

Thread ID:

Created:

Updated:

Platform:

Replies:

124816 Jul 1,2016 07:09 AM UTC Jul 5,2016 11:31 AM UTC WPF 3
loading
Tags: Ribbon
Marco Batzinger
Asked On July 1, 2016 07:09 AM UTC

Hello guys,

I'm using the ribbon component in my current project. For now everything is working fine. I've only got one problem: 

If you look at the (maybe Outlook-)Office-Ribbon, you can see, that you get back to the main view when clicking a command button (e.g. Options in Outlook). Is there any property in the Syncfusion Ribbon-Component wich provides me the same behavior?


Thanks,
Marco

Vinothini [Syncfusion]
Replied On July 4, 2016 07:35 AM UTC

Hi Marco, 

Thank you for contacting Syncfusion support. 

Your requirement for exiting from the Backstage can be done by using the HideBackStage method as like the below code example. 

Code example : 

  
 
// To Hide the BackStage 
 
ribbon1.HideBackStage(); 
 
 

 We have prepared a sample for your reference which is available in the following location . 


Please let us know if it satisfies your requirement. 

Regards, 
Vinothini 


Marco Batzinger
Replied On July 4, 2016 08:43 AM UTC

Hi Vinothini,

I've already fount the mehtod "HideBackStage". But I'm working with the MVVM-Pattern, so I want to avoid the code behind. 

For now I've written my own BackStageCommandButton wich derives from your controls added a Property called "HideBackStageOnClick".
So if I want the Backstage to get hide on click, I only need to set the Property to true:

[code]
<myControls:MyBackStageCommandButton Header="Click to get back" HideBackStageOnClick="true" Command="{Binding MyCommand]/>

[/code]

My control is just checking on every click if the property "HideBackStageOnClick" is set to true. If so, it finds the Ribbon as its parent and executes the HideBackStage method.

It would be an advantage if you could improve it on your side so I don't need to create my own control but just use the given one.


Tanks,

Marco



Vinothini [Syncfusion]
Replied On July 5, 2016 11:31 AM UTC

Hi Marco, 
Thank you for your update. 
We have considered your requirement for hiding BackStage through property as a feature and logged feature report regarding this. A support incident to track the status of this feature has been created under your account. Please log on to our support website to check for further updates 
Please let me know if you have any questions. 
Regards, 
Vinothini 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;