public void SetSupportedOrientation(XSupportedPageOrientation supported)
 {
     SupportedPageOrientation = supported;
     new SupportedOrientationChangedMessage(supported).Send();
     if (SupportedOrientationChanged != null)
     {
         SupportedOrientationChanged(this, EventArgs.Empty);
     }
 }
 public void SetSupportedOrientation(XSupportedPageOrientation supported)
 {
     SupportedPageOrientation = supported;
     new SupportedOrientationChangedMessage(supported).Send();
     if (SupportedOrientationChanged != null)
     {
         SupportedOrientationChanged(this, EventArgs.Empty);
     }
 }
Exemple #3
0
 public SupportedOrientationChangedMessage(XSupportedPageOrientation supportedOrientation)
 {
     _supportedOrientation = supportedOrientation;
 }
 public SupportedOrientationChangedMessage(XSupportedPageOrientation supportedOrientation)
 {
     _supportedOrientation = supportedOrientation;
 }