public virtual void OrientationChangedEvent(OrientationChangedEventArgs e) { EventHandler<OrientationChangedEventArgs> handler = OrientationChanged; if (handler != null) { handler(this, e); } }