Follow formatting NUI
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Controls / Loading.cs
index e45a586..ea408c6 100755 (executable)
@@ -47,16 +47,16 @@ namespace Tizen.NUI.Components
         });
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public new static readonly BindableProperty SizeProperty = BindableProperty.Create(nameof(Size), typeof(Size), typeof(Loading), new Size(0,0), propertyChanged: (bindable, oldValue, newValue) =>
-        {
-            var instance = (Loading)bindable;
-            if (newValue != null)
-            {
-                Size size = (Size)newValue;
-                ((View)bindable).Size = size;
-                instance.loadingStyle.LoadingSize = size;
-            }
-        },
+        public new static readonly BindableProperty SizeProperty = BindableProperty.Create(nameof(Size), typeof(Size), typeof(Loading), new Size(0, 0), propertyChanged: (bindable, oldValue, newValue) =>
+         {
+             var instance = (Loading)bindable;
+             if (newValue != null)
+             {
+                 Size size = (Size)newValue;
+                 ((View)bindable).Size = size;
+                 instance.loadingStyle.LoadingSize = size;
+             }
+         },
         defaultValueCreator: (bindable) =>
         {
             var instance = (View)bindable;
@@ -64,23 +64,23 @@ namespace Tizen.NUI.Components
         });
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public static readonly BindableProperty FrameRateProperty = BindableProperty.Create(nameof(FrameRate), typeof(int), typeof(Loading), (int)(1000/16.6f), propertyChanged: (bindable, oldValue, newValue) =>
-        {
-            var instance = (Loading)bindable;
-            if (newValue != null)
-            {
-                int frameRate = (int)newValue;
-                if (0 != frameRate) //It will crash if 0
+        public static readonly BindableProperty FrameRateProperty = BindableProperty.Create(nameof(FrameRate), typeof(int), typeof(Loading), (int)(1000 / 16.6f), propertyChanged: (bindable, oldValue, newValue) =>
+          {
+              var instance = (Loading)bindable;
+              if (newValue != null)
+              {
+                  int frameRate = (int)newValue;
+                  if (0 != frameRate) //It will crash if 0
                 {
-                    instance.loadingStyle.FrameRate = frameRate;
-                    instance.imageVisual.FrameDelay = 1000.0f / frameRate;
-                }
-            }
-        },
+                      instance.loadingStyle.FrameRate = frameRate;
+                      instance.imageVisual.FrameDelay = 1000.0f / frameRate;
+                  }
+              }
+          },
         defaultValueCreator: (bindable) =>
         {
             var instance = (Loading)bindable;
-            return instance.loadingStyle.FrameRate?.All ?? (int)(1000/16.6f);
+            return instance.loadingStyle.FrameRate?.All ?? (int)(1000 / 16.6f);
         });
 
         private AnimatedImageVisual imageVisual = null;