DisplayRotationStateTrigger.Rotation 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 the display rotation that will activate this trigger.
public:
property Microsoft::Maui::Devices::DisplayRotation Rotation { Microsoft::Maui::Devices::DisplayRotation get(); void set(Microsoft::Maui::Devices::DisplayRotation value); };
public Microsoft.Maui.Devices.DisplayRotation Rotation { get; set; }
member this.Rotation : Microsoft.Maui.Devices.DisplayRotation with get, set
Public Property Rotation As DisplayRotation
Property Value
The DisplayRotation value that will activate this trigger when the device display matches it.
Remarks
The trigger will be active when the device's current display rotation matches this property value. Possible values are:
- Rotation0 - Device is in its natural position (0 degrees)
- Rotation90 - Device is rotated 90 degrees
- Rotation180 - Device is rotated 180 degrees (upside down)
- Rotation270 - Device is rotated 270 degrees
- Unknown - Device rotation is unknown