NSApplicationPresentationOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies options that control the visibility of system UI, such as the Dock and menu bar, while the application is active.
This enumeration supports a bitwise combination of its member values.
[ObjCRuntime.Native]
[System.Flags]
public enum NSApplicationPresentationOptions
[<ObjCRuntime.Native>]
[<System.Flags>]
type NSApplicationPresentationOptions =
- Inheritance
-
NSApplicationPresentationOptions
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | No special presentation options; the Dock and menu bar behave normally. |
| AutoHideDock | 1 | The Dock is hidden and appears only when the pointer moves to its screen edge. |
| HideDock | 2 | The Dock is entirely unavailable to the user. |
| AutoHideMenuBar | 4 | The menu bar is hidden and appears only when the pointer moves to the top of the screen. |
| HideMenuBar | 8 | The menu bar is entirely unavailable to the user. |
| DisableAppleMenu | 16 | All Apple menu items are disabled. |
| DisableProcessSwitching | 32 | The process switching user interface (such as Command-Tab) is disabled. |
| DisableForceQuit | 64 | The Force Quit panel is disabled. |
| DisableSessionTermination | 128 | Logging out and shutting down are disabled. |
| DisableHideApplication | 256 | The "Hide" and "Hide Others" menu commands, as well as their keyboard shortcuts, are disabled. |
| DisableMenuBarTransparency | 512 | The menu bar does not display its usual translucent background. |
| FullScreen | 1024 | The application's windows are displayed in full-screen mode, hiding the Dock and menu bar. |
| AutoHideToolbar | 2048 | The toolbar is hidden and shown automatically together with the menu bar. |
| DisableCursorLocationAssistance | 4096 | The floating overlay that assists in locating the pointer is disabled. |
| DisableScreenCornerInteractions | 32768 |