GCMicroGamepad.AllowsRotation 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 or sets a value that controls whether the D-pad changes between portrait and landscape mode on the controller as its orientation changes.
public virtual bool AllowsRotation { [Foundation.Export("allowsRotation")] get; [Foundation.Export("setAllowsRotation:")] set; }
member this.AllowsRotation : bool with get, set
Property Value
true
if the D-pad matches the device's orientation. Otherwise, false
. The default is false
.
- Attributes