Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2732
Collapsed & NavigationPaneExpansionMode.None
posted

Hello,

I'm trying to achieve a specific behavior with the WinExplorerBar.
I'm trying to have the expanded state set to collapsed, and disallow the user to expand it at all. 

I'm using the following settings:
NavigationPaneExpansionMode set to None
NavigationPaneExpandedState to Collapsed
Handling the NavigationPaneFlyoutDisplaying event and cancelling the flyout.

The problem is that when I set the ExpansionMode to None, the ExpandedState is ignored and set to expanded. Even if I set the ExpandedState to Collapsed again after changing the ExpansionMode, it is ignored and just has the size as if it was collapsed, but showing the content.

See screenshot attached. It contains 2 WinExplorerBar, the left one is collapsed with the expansionmode set to default value, the right one is collapsed with expansionmode set to none. How can I get the right one to be displayed as the left one, while keeping the expansionmode to none ?

Kind regards,

Michael