Content of pane not shown when settings IsHidden to false

3 posts, 0 answers
  1. Lennart Bauer
    Lennart Bauer avatar
    22 posts
    Member since:
    Oct 2009

    Posted 15 Apr 2011 Link to this post

    Hi!

    To show / hide a pane, I set the IsHidden property to either true or false, this has always worked.

    But with the latest release, I get some strange behaviour. If the pane is starting out as hidden (IsHidden = true) when I start the application and the user later changes this through a command (IsHidden = false), the pane is expanded, but without any content (ie the grid inside is not shown).

    Am I doing something wrong?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Apr 2011 Link to this post

    Hello Lennart,

    I tried to reproduce the issue that you are describing, but to no avail. You can find attached the sample project I used. Please let me know if I am doing something incorrectly in order to reproduce the problem.

    Kind regards,
    Konstantina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Lennart Bauer
    Lennart Bauer avatar
    22 posts
    Member since:
    Oct 2009

    Posted 17 Feb 2012 Link to this post

    Tihs is a bit old now, but I found the answer to this one myself.

    I set the IsHidden property to true on startup, after the call to InitializeComponents.
    This was not good... it works if I set the property in the Loaded event of the containing window.

    The internal layout has probably not been updated before this.
Back to Top