Windows Dev Center

ApplicationProfile.Modes | modes property

Gets a value that indicates the mode that an app is running in.

Syntax


var modes = Windows.Phone.ApplicationModel.ApplicationProfile.modes;

Property value

Type: ApplicationProfileModes

A value that indicates the mode that an app is running in.

Remarks

Use the value of this property to determine if a Windows Phone app is currently running in Kid's Corner. A value of Default indicates that the app is running in normal mode. A value of Alternate indicates that the app is running in Kid's Corner mode. You can use this feature to disable features of your app while it is running in Kid's Corner. For more info, see Kid's Corner for Windows Phone

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

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

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.WinMD

See also

ApplicationProfile

 

 

Show:
© 2015 Microsoft