How implement only landscape orientation for tablet and portrait orientation on phone devices?

630 views Asked by At

Now I used DevExtreme Mobile 14.1.3 version. And my application on tablet and phone devices not locked orientation now. How can I locked orientation via DevExtreme (phonejs) framework methods or it should be implement via other technologies? Could you please explain me

Regards, Alex

1

There are 1 answers

6
tabalin On

Open the properties of your mobile project in Visual Studio.

There in General tab you'll find Screen orientation dropdown.

Select necessary orientation there

enter image description here

Edits

Different orientations for phone and tablet in a single project is not supported. You have to create separate apps for phone and tablet. Since DevExtreme supports sharing code between projects it should not be a big problem.