Can I split a menu into multiple columns in WinForms?

A menu in an application of mine is going to contain too many items to be displayed in a single vertical row. Splitting it into 2 menus does not look a good solution as it would break UI semantics. Can I just set up one menu to be displayed with multiple columns (like Windows XP classic Start menu in case of vertical overflow)?


How about creating some levels for the menu instead of splitting the menu vertically? Can't your options be grouped?

EDIT:

Don't know why I've been downvoted, but if you don't want to break the semantics of the menu and:

  • create unreadable menus of 50-ish items in length
  • or create such menus and then forcefully break them in columns
  • then you have to do something else, and grouping and levels are here to the rescue.


    Yes you can change your approach a bit and use a split container, using the left panel as the menu and the right panel as the content panel.

    This would allow you the flexibility to arrange your menu buttons in anyway you like

    链接地址: http://www.djcxy.com/p/4774.html

    上一篇: Java PreparedStatement对空字符串参数使用两个单引号

    下一篇: 我可以将菜单分成多个WinForms列吗?