Table of Contents

Namespace Xui.Core.Abstract

Namespaces

Xui.Core.Abstract.Events

Classes

Application

Represents an abstract base class for Xui applications. This class is paired at runtime with a platform-specific counterpart, which delegates to actual system APIs on macOS, Windows, Android, etc.

Users should subclass Application, override the Start() method, and call Run() to launch the application.

FixedClock

Mutable clock implementation used for deterministic scenarios such as tests.

HotReload

Internal integration point for .NET's MetadataUpdateHandler, enabling partial support for Hot Reload during development. This is not a stable API and should not be used by application developers.

SeededRandom

Random implementation that uses a fixed seed for deterministic output.

SystemClock

Default clock implementation backed by Now.

SystemRandom

Default random implementation backed by Shared.

Window

Represents an abstract cross-platform application window in Xui. Handles input, rendering, layout, and software keyboard integration.

Interfaces

IClock

Provides access to the current clock time.

IContent

Defines the contract for UI content that participates in layout, rendering, and input dispatch.

IMacOSWindowStyle

Describes the macOS-specific chrome treatment for a desktop window. Implementing this interface is safe on every target; non-macOS runtimes ignore it.

IRandom

Provides random value generation.

IWindow

Defines the abstract interface for a platform window in Xui. This surface hosts rendering, input handling, and layout updates.

IWindow.IDesktopStyle

Provides optional desktop-specific window styling hints for platforms that support multiple top-level windows (e.g., Windows, macOS, Linux).

IWindow.ISoftKeyboard

Represents a handler for software keyboard input.

Enums

IWindow.IDesktopStyle.DesktopWindowLevel

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

IWindow.IDesktopStyle.WindowBackdrop

Controls the window backdrop and chrome style.

IWindow.IDesktopStyle.WindowClientArea

Controls how much of the window area is available for application drawing.

MacOSWindowBackground

The native macOS window background treatment.

MacOSWindowTitle

The visibility of the native macOS window title.

MacOSWindowTitleHeight

The native macOS title and toolbar height.