using System; namespace Terminal.Gui { /// /// for the event /// public class ToggleEventArgs : EventArgs { /// /// Creates a new instance of the class. /// /// /// public ToggleEventArgs (bool? oldValue, bool? newValue) { OldValue = oldValue; NewValue = newValue; } /// /// The previous checked state /// public bool? OldValue { get; } /// /// The new checked state /// public bool? NewValue { get; } } }