summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native/DisplayOrientations.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/DisplayOrientations.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/DisplayOrientations.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/DisplayOrientations.cs b/Xamarin.Forms.Platform.Tizen/Native/DisplayOrientations.cs
new file mode 100644
index 00000000..efb09529
--- /dev/null
+++ b/Xamarin.Forms.Platform.Tizen/Native/DisplayOrientations.cs
@@ -0,0 +1,36 @@
+using System;
+
+namespace Xamarin.Forms.Platform.Tizen.Native
+{
+ /// <summary>
+ /// Enumeration for the orientation of a rectangular screen.
+ /// </summary>
+ [Flags]
+ public enum DisplayOrientations
+ {
+ /// <summary>
+ /// No display orientation is specified.
+ /// </summary>
+ None = 0,
+
+ /// <summary>
+ /// The display is oriented in a natural position.
+ /// </summary>
+ Portrait = 1,
+
+ /// <summary>
+ /// The display's left side is at the top.
+ /// </summary>
+ Landscape = 2,
+
+ /// <summary>
+ /// The display is upside down.
+ /// </summary>
+ PortraitFlipped = 4,
+
+ /// <summary>
+ /// The display's right side is at the top.
+ /// </summary>
+ LandscapeFlipped = 8
+ }
+}