I was looking at the Navigationbar sample and when I am in chrome and switch modes in developer view the screen size of the browser doesn’t change to the smaller size.
if (Application.Browser.ScreenSize.Width < 700)
this.panel1.CompactView = true;
this.panel1.CompactView = false;
Any ideas on what to do on this?
The Application.Browser.ScreenSize is the device screen size while the Application.Browser.Size is the size of the browser. If you switch device in emulation mode you need to hit refresh since there is no event in the browser when the device emulation changes.
With Wisej 2 you can also set the value true|false using the responsive profile selector in the designer.
Please login first to submit.