Method GetPhantomWindow
GetPhantomWindow()
Gets a hidden, borderless window positioned off-screen. If such a window is not already created, it creates one.
public static Window GetPhantomWindow()
Returns
- Window
A Window instance configured with minimal dimensions, no border, and positioned outside the visible screen area.
Remarks
This phantom window is not shown in the taskbar and is intended for scenarios where an invisible or off-screen window is required, such as for background processing or interoperation purposes.