#nullable enable namespace Terminal.Gui.App; public static partial class Application // Navigation stuff { /// /// Gets the instance for the current . /// public static ApplicationNavigation? Navigation { get => ApplicationImpl.Instance.Navigation; internal set => ApplicationImpl.Instance.Navigation = value; } /// Alternative key to navigate forwards through views. Ctrl+Tab is the primary key. [ConfigurationProperty (Scope = typeof (SettingsScope))] public static Key NextTabGroupKey { get => ApplicationImpl.Instance.Keyboard.NextTabGroupKey; set => ApplicationImpl.Instance.Keyboard.NextTabGroupKey = value; } /// Alternative key to navigate forwards through views. Tab is the primary key. [ConfigurationProperty (Scope = typeof (SettingsScope))] public static Key NextTabKey { get => ApplicationImpl.Instance.Keyboard.NextTabKey; set => ApplicationImpl.Instance.Keyboard.NextTabKey = value; } /// /// Raised when the user releases a key. /// /// Set to to indicate the key was handled and to prevent /// additional processing. /// /// /// /// All drivers support firing the event. Some drivers (Unix) do not support firing the /// and events. /// Fired after . /// public static event EventHandler? KeyUp { add => ApplicationImpl.Instance.Keyboard.KeyUp += value; remove => ApplicationImpl.Instance.Keyboard.KeyUp -= value; } /// Alternative key to navigate backwards through views. Shift+Ctrl+Tab is the primary key. [ConfigurationProperty (Scope = typeof (SettingsScope))] public static Key PrevTabGroupKey { get => ApplicationImpl.Instance.Keyboard.PrevTabGroupKey; set => ApplicationImpl.Instance.Keyboard.PrevTabGroupKey = value; } /// Alternative key to navigate backwards through views. Shift+Tab is the primary key. [ConfigurationProperty (Scope = typeof (SettingsScope))] public static Key PrevTabKey { get => ApplicationImpl.Instance.Keyboard.PrevTabKey; set => ApplicationImpl.Instance.Keyboard.PrevTabKey = value; } }