#nullable enable using System.ComponentModel; namespace Terminal.Gui.Drawing; /// Event args for draw events public class SchemeEventArgs : CancelEventArgs { /// Creates a new instance of the class. public SchemeEventArgs (in Scheme? currentScheme, ref Scheme? newScheme) { CurrentScheme = currentScheme; NewScheme = newScheme; } /// Gets the View's current . public Scheme? CurrentScheme { get; } /// Gets or sets the View's new . public Scheme? NewScheme { get; set; } }