XNACS1Lib: CSS490 Spring 2011
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Meaningful only when run on a Windows Phone device. Enable/Disable changing orientation
based on the phone's physical settings. Valid orientations are:
Portrait, LandscapeLeft, LandscapeRight
Namespace: XNACS1LibAssembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static void SetPhoneOrientation( bool locked, DisplayOrientation orientation ) |
Parameters
- locked
- Type: System..::..Boolean
If True, orienation of app will maintained as set.
- orientation
- Type: DisplayOrientation
The orientation to set to.