exam questions

Exam 70-357 All Questions

View all questions & answers for the 70-357 exam

Exam 70-357 topic 1 question 21 discussion

Actual exam question from Microsoft's 70-357
Question #: 21
Topic #: 1
[All 70-357 Questions]

HOTSPOT -
You are developing a Universal Windows Platform (UWP) app.
The app does not display content properly on mobile devices.
You need to support smaller window sizes.
How should you complete the relevant XAML markup? To answer, select the appropriate markup segment from each list in the answer area.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
One of the tools that Microsoft gives us for building adaptive UIs in UWP apps is state triggers. The version of Windows 10 released at BUILD 2015 features one state trigger: a class named AdaptiveTrigger. AdaptiveTrigger has two important properties: MinWindowWidth and MinWindowHeight. You use AdaptiveTrigger in conjunction with Visual State Manager to adapt the UI to screens and windows of various sizes.
* Inline
The pane is always visible and doesn't overlay the content area. The pane and content areas divide the available screen real estate.
* CompactInline
A narrow portion of the pane is always visible in this mode, which is just wide enough to show icons. The default closed pane width is 48px, which can be modified with CompactPaneLength. If the pane is opened, it will reduce the space available for content, pushing the content out of its way.
Reference: http://www.wintellect.com/devcenter/jprosise/using-adaptivetrigger-to-build-adaptive-uis-in-windows-10

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nzcoder
Highly Voted 5 years, 5 months ago
The answer is wrong. For small size, it should be MinWindowWidth="0". For big size, it should be MinWindowWidth = "768"
upvoted 10 times
Leodolz
4 years, 5 months ago
Idk, I was reading a little bit the difference between inline and compactInline, and it looks like the 'compact' one occupies more space, either minimized or maximized. So I think the solution is the correct one
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...