No automatic collapse when width resized to collapse width?

Navigation for WPF Forum

Posted 11 years ago by Kollen Glynn
Version: 3.5.0428
Avatar
One area we've received a bug on in our own product is that when the nav bar is resized such that the width is narrow enough to match the collapsed width that it doesn't just automatically collapse like in Outlook. Bug or by design?

Thanks.

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
That was by design. From what we observed in Outlook, when you drag the splitter, it's dragging a shadow and not really resizing live as the mouse moves. When the splitter is dragged and released so that the NavBar is made small enough, we believe there is separate code in Outlook that changes to the minimized state. Likewise when the splitter is dragged and released in a larger width, there is code the seems to toggle it back to expanded.

Unfortunately with Grids in WPF, it's doing it all live so there may not be a chance to catch this size change. Perhaps we can look into some sort of auto-toggle option for the future though with a threshold minimum size that triggers the switch.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.