Table of Contents

Enum IWindow.IDesktopStyle.DesktopWindowLevel

Namespace
Xui.Core.Abstract
Assembly
Xui.Core.dll

Cross-platform window stacking level (Z-order abstraction).

public enum IWindow.IDesktopStyle.DesktopWindowLevel

Fields

Floating = 100

Floating utility window above normal windows.

macOS: NSWindow.Level.floating.
Windows: implemented via HWND_TOPMOST.

Modal = 300

Modal dialog level that blocks interaction with other app windows.

macOS: NSWindow.Level.modalPanel or sheets.
Windows: enforced via window ownership and modality, not a unique Z-order tier.

Normal = 0

Standard application window.

macOS: NSWindow.Level.normal.
Windows: normal (non-topmost) window.

StatusBar = 200

High-floating level for small status or utility UI.

macOS: NSWindow.Level.statusBar.
Windows: approximated as topmost, often with utility window styles.

Remarks

macOS: Maps to NSWindow.Level values such as .normal, .floating, .statusBar, and .modalPanel.

Windows: Maps primarily to Win32 Z-order using HWND_TOPMOST / HWND_NOTOPMOST. Higher levels may be approximated, as Windows exposes fewer public layering tiers than macOS.