Table of Contents

Method CreatePhantomWindow

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CreatePhantomWindow()

Creates a hidden, borderless window positioned off-screen.

public static Window CreatePhantomWindow()

Returns

Window

A Window instance configured as a hidden, off-screen window.

Remarks

This method creates a window with minimal dimensions and ensures it does not appear in the taskbar. The window is positioned off-screen and is intended for scenarios where a window handle is required without displaying the window to the user. Use GetPhantomWindow() to retrieve a singleton instance of such a window.