Table of Contents

Event OrientationChanged

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Raised when the orientation has changed.

public event EventHandler<EventArgs<Orientation>>? OrientationChanged

Returns

EventHandler<EventArgs<Orientation>>
Raised when the orientation has changed.

Remarks

Views that implement IOrientation should raise OrientationChanged after the orientation has changed (

<pre><code class="lang-csharp">_orientationHelper.OrientationChanged += (sender, e) => OrientationChanged?.Invoke (this, e);</code></pre>

).

This event will be raised after the OnOrientationChanged(Orientation) method is called.