Determine The State Of Web Toolbar Menu

Hello everyone

Whenever the web toolbar is minimized, it will take the form of the ‘hamburger’ menu state.
Is there anyway we could determine whenever the web toolbar is in that state?


Given you’re using the default Bootstrap’s breakpoints, the hamburger menu will appear when the width of the WebToolBar is less than 768px.

So you may add an event handler to your WebPage.Resized event:

Var isToolbarInHamburgerMode As Boolean = myToolbar.Width < 768


1 Like