This is a migrated thread and some comments may be shown as answers.

Content of pane not shown when settings IsHidden to false

2 Answers 28 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Lennart Bauer
Top achievements
Rank 1
Lennart Bauer asked on 15 Apr 2011, 03:57 PM
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 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 18 Apr 2011, 02:04 PM
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
0
Lennart Bauer
Top achievements
Rank 1
answered on 17 Feb 2012, 11:07 AM
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.
Tags
Docking
Asked by
Lennart Bauer
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Lennart Bauer
Top achievements
Rank 1
Share this question
or