Share via


DisplayRotationStateTrigger.Rotation Property

Definition

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:

Applies to