SystemProtection.ScreenLocked property

Applies to Windows Phone only

Gets a value that indicates whether the screen is locked.

Syntax


public static bool ScreenLocked { get; }

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

true if the screen is locked; otherwise, false.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System
Windows::Phone::System [C++]

Metadata

Windows.WinMD

See also

SystemProtection

 

 

Community Additions

ADD
Show:
© 2014 Microsoft