Window.Current Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Desktop apps always return null
for this property.
static Window Current();
public static Window Current { get; }
var window = Window.current;
Public Shared ReadOnly Property Current As Window
Property Value
Value is null
for Desktop apps.
Remarks
The Window object implements IWindowNative, through which Desktop apps can get the underlying HWND of the Window
.