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 new checked state
public bool? NewValue { get; }
/// The previous checked state
public bool? OldValue { get; }
}