[NUI] Fix build warnings (#806)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Thu, 2 May 2019 05:41:08 +0000 (14:41 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 2 May 2019 05:41:08 +0000 (14:41 +0900)
* [NUI] Fix build warnings

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Update View.cs

* Update View.cs

* Update ToggleButton.cs

src/Tizen.NUI/src/internal/XamlBinding/NavigationPage.cs
src/Tizen.NUI/src/internal/XamlBinding/RotationTypeConverter.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/UIComponents/ToggleButton.cs

index eef0cb8..d72def2 100755 (executable)
@@ -242,11 +242,6 @@ namespace Tizen.NUI
         public event EventHandler<NavigationEventArgs> Popped;
 
         /// <summary>
-        /// Event that is raised when the last nonroot element is popped from this NavigationPage element.
-        /// </summary>
-        public event EventHandler<NavigationEventArgs> PoppedToRoot;
-
-        /// <summary>
         /// Pops all but the root Page off the navigation stack.
         /// </summary>
         /// <returns>A task that represents the asynchronous dismiss operation.</returns>
index 4f48d72..9aa8454 100755 (executable)
@@ -7,10 +7,10 @@ namespace Tizen.NUI.Binding
     {
         public override object ConvertFromInvariantString(string value)
         {
-            /// public Rotation(Radian radian(float), Vector3 vector3)
-            /// Default: <View Orientation="45.0,12,13,0" />
-            /// Oritation="D:23, 0, 0, 1"
-            /// Oritation="R:23, 0, 0, 1" 
+            // public Rotation(Radian radian(float), Vector3 vector3)
+            // Default: <View Orientation="45.0,12,13,0" />
+            // Oritation="D:23, 0, 0, 1"
+            // Oritation="R:23, 0, 0, 1" 
             if (value != null)
             {
                 string[] parts = value.Split(',');
@@ -25,12 +25,12 @@ namespace Tizen.NUI.Binding
                         string radianOrDegree = head[0].Trim().ToLowerInvariant();
                         if(radianOrDegree == "d" || radianOrDegree == "degree")
                         {
-                            /// Oritation="D:23, 0, 0, 1"
+                            // Oritation="D:23, 0, 0, 1"
                             radian = new Radian( new Degree( Single.Parse( head[1].Trim(), CultureInfo.InvariantCulture ) ) );
                         }
                         else if (radianOrDegree == "r" || radianOrDegree == "radian")
                         {
-                            /// Oritation="R:23, 0, 0, 1"
+                            // Oritation="R:23, 0, 0, 1"
                             radian = new Radian( Single.Parse( head[1].Trim(), CultureInfo.InvariantCulture ) );
                         }
                         else
@@ -41,7 +41,7 @@ namespace Tizen.NUI.Binding
 
                     if (useDefault)
                     {
-                        ///Default: <View Orientation="45.0,12,13,0" />
+                        //Default: <View Orientation="45.0,12,13,0" />
                         radian = new Radian( Single.Parse( parts[0].Trim(), CultureInfo.InvariantCulture ) );
                     }
 
index 69033cb..f93c87a 100644 (file)
@@ -227,6 +227,7 @@ namespace Tizen.NUI.BaseComponents
             return temp;
         });
 
+        /// Only for XAML property binding. This will be changed as Inhouse API by ACR later.
         public static readonly BindableProperty FlexProperty = BindableProperty.Create("Flex", typeof(float), typeof(View), default(float), propertyChanged: (bindable, oldValue, newValue) =>
         {
             var view = (View)bindable;
index 54dd3a7..85f6f6a 100755 (executable)
@@ -43,6 +43,7 @@ namespace Tizen.NUI
             return temp;
         });
 
+        /// Only for XAML property binding. This will be changed as Inhouse API by ACR later.
         public static readonly BindableProperty TooltipsProperty = BindableProperty.Create("Tooltips", typeof(PropertyArray), typeof(ToggleButton), new PropertyArray(), propertyChanged: (bindable, oldValue, newValue) =>
         {
             var toggleButton = (ToggleButton)bindable;