Share via


ApplicationView.IsOnLockScreen Property

Definition

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

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

Property Value

Boolean

bool

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

Remarks

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