namespace Terminal.Gui;
///
/// Args for events where the of a is changed (e.g.
/// / events).
///
public class SuperViewChangedEventArgs : EventArgs
{
/// Creates a new instance of the class.
///
///
public SuperViewChangedEventArgs (View parent, View child)
{
Parent = parent;
Child = child;
}
// TODO: Child is the wrong name. It should be View.
/// The view that is having it's changed
public View Child { get; }
// TODO: Parent is the wrong name. It should be SuperView.
///
/// The parent. For this is the old parent (new parent now being null). For
/// it is the new parent to whom view now belongs.
///
public View Parent { get; }
}