protected override void OnSizeAllocated(double width, double height)
 {
     try
     {
         _orientationSensor.OnRotated();
         base.OnSizeAllocated(width, height);
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex);
     }
 }
示例#2
0
 protected override void OnSizeAllocated(double width, double height)
 {
     _orientationSensor.OnRotated();
     base.OnSizeAllocated(width, height);
 }