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; }
/// Set to to cause the resize to be cancelled, if appropriate.
public bool Cancel { get; set; }
/// Gets the size the event describes. This should reflect the new/current size after the event resolved.
public Size? Size { get; }
}