Welcome to the Xceed Community | Help
Community Search  

Example of setting UIStyle of Menus and Toolbar to Office2003, please?

Sort Posts: Previous Next
  •  05-08-2008, 12:49 PM Post no. 12096

    Example of setting UIStyle of Menus and Toolbar to Office2003, please?

    The only examples I've been able to google for are based on using the UIStyleResourceAssembly, and I understand that both menus and toolbar support the Office2003 styling I'd like to use.  I'm trying to use intellisense in the IDE to figure out the object model I need to use for this, and am not finding it.  Can anyone post an example of setting the UIStyle of Menu or Toolbar or both to Office2003?

    Thanks!

  •  05-12-2008, 3:18 PM Post no. 12179 in reply to 12096

    Re: Example of setting UIStyle of Menus and Toolbar to Office2003, please?

    You need to include the Xceed.SmartUI.UIStyle .dll to your project. The code should simply look like this:

    smartToolBar1.UIStyle = Xceed.SmartUI.UIStyle.UIStyle.Office2003;
    smartMenuBar1.UIStyle = Xceed.SmartUI.UIStyle.UIStyle.Office2003;


    Charles Bérubé-Rémillard
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.