Alex Filatov
Alex Filatov

Reputation: 2321

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

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

Upvotes: 0

Views: 648

Answers (1)

tabalin
tabalin

Reputation: 2313

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.

Upvotes: -1

Related Questions