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. Image for the cookie policy date

mainmenubar is null

I have an application, whose mainmenubar property shows null. What does it mean? But it has file, view, help menus. why does the mainmenubar property show null value? I''m not able to get mainmenubar through the normal way we used to by referring to resources. I''m trying to access menu bar during runtime from the mainform. How to do that?

1 Reply

AD Administrator Syncfusion Team December 2, 2004 11:04 PM UTC

Hi Balaji, The MainFrameBarManager.MainMenuBar property returns the main-menu XPMenus.Bar associated with the MDI parent form. Please make sure atleast one XPMenus.Bar has its BarStyle set to BarStyle.IsMainMenu in your form. Let me know if you need further assistance. Regards, Guru Patwal Syncfusion, Inc.

Live Chat Icon For mobile
Up arrow icon