Dimension problem of ApplicationMenu, Buttons exceeds

4 posts, 1 answers
  1. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 14 Sep Link to this post

    Hi,

    I'm creating RibbonView with an ApplicationMenu, I have several items, and it structured in 2 levels.

    The 2nd level can has a lot of voice, these voices exeeds over ApplicationMenu area.

    I tryed to value ApplicationMenu.Content with Grid sized, but ApplicationMenu area does not expand.

    How should I go about doing this?

     

  2. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 14 Sep in reply to Dario Concilio Link to this post

    I'm using ScrollViewer to avoid this problem, is there a better way?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 16 Sep Link to this post

    Hello Dario Concilio,

    The ApplicationMenu sizes its Height based on the number of ItemsDefined as its children(the buttons on the left: file,configuratione ..e.t.). However you can set its Width and Height properties which will be respected with high priority, that said you can set the Height as much as you want in order to show the entire content of your popup. However if you want a scroll-able content the best approach is to use ScrollViewer.

    I hope this information helps.

    Kind regards,
    Kiril Vandov
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  5. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 19 Sep in reply to Kiril Vandov Link to this post

    Perfect! Thank you.
Back to Top