Event OrientationChanging
Raised when the orientation is changing. This is cancelable.
public event EventHandler<CancelEventArgs<Orientation>>? OrientationChanging
Returns
- EventHandler<CancelEventArgs<Orientation>>
- Raised when the orientation is changing. This is cancelable.
Remarks
Views that implement IOrientation should raise OrientationChanging after the orientation has changed (
<pre><code class="lang-csharp">_orientationHelper.OrientationChanging += (sender, e) => OrientationChanging?.Invoke (this, e);</code></pre>
).
This event will be raised after the OnOrientationChanging(Orientation, Orientation) method is called (assuming it was not canceled).