using System; namespace Terminal.Gui; /// /// Args for events about Size (e.g. Resized) /// public class SizeChangedEventArgs : EventArgs { /// /// Creates a new instance of the class. /// /// public SizeChangedEventArgs (Size size) => Size = size; /// /// Gets the size the event describes. This should reflect the new/current size after the event. /// public Size Size { get; } /// /// Set to to cause the resize to be cancelled, if appropriate. /// public bool Cancel { get; set; } }