ApplicationView.IsOnLockScreen Property


Gets whether the window (app view) is on the Windows lock screen.

 property bool IsOnLockScreen { bool get(); };
bool IsOnLockScreen();
public bool IsOnLockScreen { get; }
var boolean = applicationView.isOnLockScreen;
Public ReadOnly Property IsOnLockScreen As Boolean

Property Value


true if the calling window is on the lock screen; false if it is not.


The property is a nonstatic member of the window object. For JavaScript, this means that it is a method of the window object that getForCurrentView creates, not of the ApplicationView class.

Applies to