Table of Contents

Interface IWindow.IDesktopStyle

Namespace
Xui.Core.Abstract
Assembly
Core.dll

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

public interface IWindow.IDesktopStyle

Remarks

On mobile platforms, applications typically run in a single full-screen window, and this interface has no effect. On desktop, implementing this interface allows apps to influence window chrome, border visibility, and initial sizing.

Properties

Chromeless

If true, the window will be created without a system title bar or border. The entire surface will be treated as a client area, while still maintaining standard desktop window behaviors (e.g., close/minimize buttons).

bool Chromeless { get; }

Property Value

bool

StartupSize

Optional startup size hint for the window. If null, the platform will decide the initial size.

Size? StartupSize { get; }

Property Value

Size?