コード例 #1
0
 private void PhoneApplicationPage_OrientationChanged(object sender, OrientationChangedEventArgs e)
 {
     OrientationHelper.HideSystemTrayWhenInLandscapeMode(e.Orientation);
 }
コード例 #2
0
 private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
 {
     OrientationHelper.HideSystemTrayWhenInLandscapeMode(this.Orientation);
 }