RadRibbonView IsMinimized=true at startup, collapse of ribbon panel is delayed until after ContentRendered event

4 posts, 0 answers
  1. PaulR
    PaulR avatar
    19 posts
    Member since:
    Jun 2016

    Posted 15 Jun Link to this post

    Hi,

    I'm using the RadRibbonView with IsMinimized=true at startup. We're noticing that the ribbon panel part is not collapsed until 'after' the ContentRendered event. As a result, for a brief moment, you can see the layout of the main window with the ribbon panel open and using the vertical space, and then quickly, the layout of the rest of the window shifts up as the ribbon panel is collapsed. It's a bit distracting.

    To test:

    - Add RadRibbonView with IsMinimized=true
    - Override OnContentRendered in main window and put a breakpoint on the base.OnContentRendered line.
    - Notice that the ribbon is not yet 'minimized' and is occupying space in the layout.
    - Continue and it will minimize.

     


  2. Dinko
    Admin
    Dinko avatar
    201 posts

    Posted 20 Jun Link to this post

    Hi Paul Raymond,

    Following the described steps in your post, we weren't able to reproduce this behavior. Because of this, we would like to ask you for an additional information and a sample project so that we could examine your scenario.

    1. Which version of our assemblies are you using in your application?
    2. Which .NET Framework version are you using?
    3. What is the OS of the machine where you run the application?

    We are looking forward to your answer. 

    Regards,
    Dinko
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. PaulR
    PaulR avatar
    19 posts
    Member since:
    Jun 2016

    Posted 22 Jun in reply to Dinko Link to this post

    Hi,

    So upon further investigation, it does seem intermittent. In my recent test, it would succeed (no delayed minimize effect), and then re-run and fail, then succeed, then fail.

    I found that by adding the property "ContentHeight=0", this eliminated the problem completely. Thanks.

    (For interest, I was on latest v613, .Net 4.6.1, Win10, VisualStudio2013 dark theme)

  5. Dinko
    Admin
    Dinko avatar
    201 posts

    Posted 24 Jun Link to this post

    Hello PaulR,

    Thank you for the provided information. We are happy to hear that you found a solution for your case.

    If you have any other question or concerns please, don't hesitate to contact us again.

    Regards,
    Dinko
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top