Responsivity

elina
Posts: 2
Joined: Mon Oct 30, 2017 8:28 am

Responsivity

Postby elina » Mon Oct 30, 2017 8:32 am

Hi!
Is it possible to make website responsive?
For example if I want to use Bootstrap styles & components? Is it possible?

Thank you!

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Responsivity

Postby JS-Support @Userware » Mon Oct 30, 2017 8:55 am

Hi,

At the moment you can make your app responsive by registering the "Windows.Current.SizeChanged" event and adapting the layout according to the size of the window (Window.Current.Bounds.Width and Window.Current.Bounds.Height).

You can see an example by opening the Showcase application (in Visual Studio, click File => New Project => C#/XAML for HTML5 => Sample Showcase).

In the future, we are going to support the UWP (Universal Windows Platform) way of handling responsivity in XAML, which is to use the AdaptiveTrigger, which you can see in action at:
http://mikaelkoskinen.net/post/uwp-xaml-responsive-layout-using-grid-and-adaptivetrigger

Regards,
JS-Support


Return to “General Discussion and Other”

Who is online

Users browsing this forum: No registered users and 23 guests