NavigationPane IsExpanded Property

Navigation for WPF Forum

Posted 14 years ago by Aleksander Brzozowski
Version: 10.2.0532
Why first NavigationPane in NavigationBar is always expanded at start?
I would like load content of Pane in NavigationBar Expanded event.
Although I`ve set IsExpanded to false, NavigationPane is expanded when my control is initialized.

How can I change this? How can I set NavigationBar minimized at start?

<nav:NavigationBar Name="mp_tree_bar" Grid.Column="2" Margin="5" ArePanesVisible="False" FlowDirection="RightToLeft" HorizontalAlignment="Stretch" >
            <nav:NavigationPane  IsExpanded="False">
                <Grid >
                        <ColumnDefinition Width="200*" />

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Aleksander,

Sorry but it expands the selected item automatically at startup. Core Selector code in its OnGeneratorStatusChanged handler is what sets the selection. Our code will expand the selected item, so perhaps you could de-select (SelectedIndex = -1) in your own handler of the ItemContainerGenerator's status changed event. Your code would need to kick in before our auto-expand code does.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.