Table of Contents

Event OrientationChanged

Namespace
Terminal.Gui
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 (

_orientationHelper.OrientationChanged += (sender, e) => OrientationChanged?.Invoke (this, e);
).

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