namespace Terminal.Gui; /// for events. public class OrientationEventArgs : EventArgs { /// Constructs a new instance. /// the new orientation public OrientationEventArgs (Orientation orientation) { Orientation = orientation; Cancel = false; } /// If set to true, the orientation change operation will be canceled, if applicable. public bool Cancel { get; set; } /// The new orientation. public Orientation Orientation { get; set; } }