ApplicationProfile.Modes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the mode that an app is running in.
public:
static property ApplicationProfileModes Modes { ApplicationProfileModes get(); };
static ApplicationProfileModes Modes();
public static ApplicationProfileModes Modes { get; }
var applicationProfileModes = ApplicationProfile.modes;
Public Shared ReadOnly Property Modes As ApplicationProfileModes
Property Value
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