Navigation Pane Visiblility Collapsed Issue

Navigation for WPF Forum

Posted 14 years ago by Burton H Roberts
Avatar
I would like to dynamically collapse and show a navigation pane in code using the Visibility property like:
MyPane.Visibility = System.Windows.Visibility.Hidden;
When I try it, it doesn't work. Could you confirm that and possibly offer a work around?

Comments (3)

Posted 14 years ago by Burton H Roberts
Avatar
I apologize, I meant -
MyPane.Visibility = System.Windows.Visibility.Collapsed;
This doesn't work for me. ('Hidden' doesn't work either.) Any suggestions? Thanks
Posted 14 years ago by Burton H Roberts
Avatar
More Information. Sorry I didn't see this before.
When I open up the Window and set pane.Visibility to Collapsed in Window_Loaded, it doesn't happen right away. As soon as I click on another pane, though, Visibility.Collapsed kicks in and Collapses the pane. I can probably figure a work-around from here, but is that bug?
Posted 14 years ago by Burton H Roberts
Avatar
I just had to select another pane before the one I wanted collapsed would collapse.
I could do it in code. Thanks
The latest build of this product (v25.1.0) was released 27 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.