Share via


Window.Current Property

Definition

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.

Applies to

See also