Home Forums WinForms controls Other WinForms controls Example of setting UIStyle of Menus and Toolbar to Office2003, please?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18460 |

    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!

    Imported from legacy forums. Posted by Jon Schwartz (had 1781 views)

    Xceed Support
    Member
    Post count: 5658

    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;

    Imported from legacy forums. Posted by CharlesB (had 2194 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.