From 703eef633ab932397bd16d16b292c3e198a3c57b Mon Sep 17 00:00:00 2001 From: Wonsik Jung Date: Thu, 19 Dec 2019 18:24:31 +0900 Subject: [PATCH] [NUI] Add NoOrientationPreference (#1220) Add NoOrientationPreference to WindowOrientation enum. It is used to unset the preferred orientation with SetPreferredOrientation. --- src/Tizen.NUI/src/public/Window.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Tizen.NUI/src/public/Window.cs b/src/Tizen.NUI/src/public/Window.cs index a103a1e..e869a4b 100755 --- a/src/Tizen.NUI/src/public/Window.cs +++ b/src/Tizen.NUI/src/public/Window.cs @@ -100,7 +100,14 @@ namespace Tizen.NUI /// Landscape inverse orientation. /// /// 3 - LandscapeInverse = 270 + LandscapeInverse = 270, + /// + /// No orientation. It is for the preferred orientation + /// Especially, NoOrientationPreference only has the effect for the preferred orientation. + /// It is used to unset the preferred orientation with SetPreferredOrientation. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + NoOrientationPreference = -1 } /// -- 2.7.4