Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Detect ApplicationMenu2010 'support'?
posted

Dear all,

I have an application that allows the user to change the style of the application. For reasons that I won't go in to this is the way the end user wants it, and when where possible they want the Office 2010 look to the application menu. Some styles support an Office 2010 application menu and others don't. So I've designed both.

The problem I'm having is detecting when the new style supports an 2010 application menu so that I can change the ribbon FileMenuStyle accordingly i.e. what goes in the if clause:

if (<Detect support for ApplicationMenu2010>)

ultraToolbarsManager1.Ribbon.FileMenuStyle = FileMenuStyle.ApplicationMenu2010;

else

ultraToolbarsManager1.Ribbon.FileMenuStyle = FileMenuStyle.ApplicationMenu;

I'm sure this is a simple thing that I am just missing/overlooking.

Regards and thanks.

Parents
  • 53790
    posted

    Hello B_D,

    I`m not sure that I understand your question. What do you mean with "Some styles support an Office 2010 application menu and others don't". Which styles do your refer. Are you talking about AppStyle ?

    Please explain more deeply.

    Thanks and Regards

Reply Children