Vertical Orientation - Full Width

2 posts, 0 answers
  1. Justin Lee
    Justin Lee avatar
    146 posts
    Member since:
    Dec 2009

    Posted 23 Dec 2014 Link to this post


    I have a menu with vertical orientation.  The menu has a width that is wider than the longest menu item.  However, the menu items' width gets set to the longest menu item.  Is there a way I can stretch the menu items to the full width of the menu control?

    I have created a custom style/template for MenuItem, however after setting HorizontalAlignment="Stretch" on all controls, the menu items width is still auto-set to the longest item.

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 25 Dec 2014 Link to this post

    Hi Justin,

    Do you reproduce the same problem on any of our WPF Demos? If not, may I ask you to try isolating the issue in a demo project illustrating your exact setup? You can also take a look at this blog post for a reference on how to isolate an issue. You can open a new support ticket and send us the demo solution, that way we can check it locally and advise further.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top