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