ApplicationProfile ApplicationProfile ApplicationProfile ApplicationProfile Class

Definition

Provides profile information about an app.

public : static class ApplicationProfile
public static class ApplicationProfile
Public Static Class ApplicationProfile
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)

Properties

Modes Modes Modes Modes

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

public : static ApplicationProfileModes Modes { get; }
public static ApplicationProfileModes Modes { get; }
Public Static ReadOnly Property Modes As ApplicationProfileModes
var applicationProfileModes = Windows.Phone.ApplicationModel.ApplicationProfile.modes;
Value
ApplicationProfileModes ApplicationProfileModes ApplicationProfileModes 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