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.

How to handle State Persistence in the Ribbon control?

How to handle State Persistence in the Ribbon control?

To enable/disable the state persistence in the Ribbon control, use AutoPersist Property.

The Ribbon State Persistence feature helps to load the state of the Ribbon control that existed when the application was closed. We can customize State Persistence in Ribbon, Quick Access Tool Bar and Ribbon Window elements by using AutoPersist property.

Default value of State Persistence is False

XAML

 

C#

 

The following screenshot displays the ribbon persisting state when the application closes and apply it back when the application restarts

Article ID: Published Date: Last Revised Date: Platform: Control:
5689 11/13/2015 11/13/2015 WPF Ribbon
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.