70-355 · Question #15
You are developing a Universal Windows Platform (UWP) app that will take photos. The app will be used on both Windows 10 device families. You need to ensure that when the app runs on a phone, the…
The solution involves dragging code elements into blanks in a C# code snippet to complete it correctly. The initial code snippet structure is not fully provided, but the final completed code (with blanks filled in from the Code Elements list where applicable, as indicated by…
Question
Explanation
The solution involves dragging code elements into blanks in a C# code snippet to complete it correctly. The initial code snippet structure is not fully provided, but the final completed code (with blanks filled in from the Code Elements list where applicable, as indicated by green boxes in the solution) is:
if ( ApiInformation.IsTypePresent ) {
ApiInformation.IsEventPresent Windows.Phone.UI.Input.HardwareButtons("")
HardwareButtons.CameraPressed += HardwareButtons_CameraPressed
BackBtn.Visibility = Visible
}
The elements from the 'Code Elements' list used to fill the blanks are:
ApiInformation.IsTypePresentApiInformation.IsEventPresentWindows.Phone.UI.InputVisible
Note: The solution image also shows HardwareButtons.CameraPressed, HardwareButtons_CameraPressed, and BackBtn.Visibility in green boxes, implying they are placed into target areas, but these specific identifiers are not present in the 'Code Elements' list provided on the page, which suggests they might be part of the predefined target code or from an extended list not fully shown.
Topics
Community Discussion
No community discussion yet for this question.