namespace Terminal.Gui; /// The event arguments for events. public class AdvanceFocusEventArgs : CancelEventArgs { /// Initializes a new instance. public AdvanceFocusEventArgs (NavigationDirection direction, TabBehavior? behavior) { Direction = direction; Behavior = behavior; } /// Gets or sets the view that is losing focus. public NavigationDirection Direction { get; set; } /// Gets or sets the view that is gaining focus. public TabBehavior? Behavior { get; set; } }