[NUI] Add IsUsingXaml flag in properties of View and AnimatedVectorImageView
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / AnimatedVectorImageViewBindableProperty.cs
index 3e12d1d..4782618 100755 (executable)
@@ -26,14 +26,16 @@ namespace Tizen.NUI.BaseComponents
         /// ResourceURLProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
+#if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
+        public static BindableProperty ResourceURLProperty = null;
+#else
         public static readonly BindableProperty ResourceURLProperty = null;
-
+#endif
         internal static void SetInternalResourceURLProperty(BindableObject bindable, object oldValue, object newValue)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
             instance.InternalResourceURL = (string)newValue;
         }
-        
         internal static object GetInternalResourceURLProperty(BindableObject bindable)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
@@ -44,14 +46,16 @@ namespace Tizen.NUI.BaseComponents
         /// ResourceUrlProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public static new readonly BindableProperty ResourceUrlProperty = null;
-        
+#if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
+        public static new BindableProperty ResourceUrlProperty = null;
+#else
+        public static readonly new BindableProperty ResourceUrlProperty = null;
+#endif
         internal static void SetInternalResourceUrlProperty(BindableObject bindable, object oldValue, object newValue)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
             instance.InternalResourceUrl = (string)newValue;
         }
-
         internal static object GetInternalResourceUrlProperty(BindableObject bindable)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
@@ -62,8 +66,11 @@ namespace Tizen.NUI.BaseComponents
         /// RepeatCountProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
+#if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
+        public static BindableProperty RepeatCountProperty = null;
+#else
         public static readonly BindableProperty RepeatCountProperty = null;
-        
+#endif
         internal static void SetInternalRepeatCountProperty(BindableObject bindable, object oldValue, object newValue)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
@@ -82,8 +89,11 @@ namespace Tizen.NUI.BaseComponents
         /// CurrentFrameProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public static new readonly BindableProperty CurrentFrameProperty = null;
-        
+#if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
+        public static new BindableProperty CurrentFrameProperty = null;
+#else
+        public static readonly new BindableProperty CurrentFrameProperty = null;
+#endif
         internal static void SetInternalCurrentFrameProperty(BindableObject bindable, object oldValue, object newValue)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
@@ -92,7 +102,6 @@ namespace Tizen.NUI.BaseComponents
                 instance.InternalCurrentFrame = (int)newValue;
             }
         }
-        
         internal static object GetInternalCurrentFrameProperty(BindableObject bindable)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
@@ -103,8 +112,11 @@ namespace Tizen.NUI.BaseComponents
         /// RepeatModeProperty
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
+#if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
+        public static BindableProperty RepeatModeProperty = null;
+#else
         public static readonly BindableProperty RepeatModeProperty = null;
-        
+#endif
         static internal void SetInternalRepeatModeProperty(BindableObject bindable, object oldValue, object newValue)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
@@ -113,7 +125,6 @@ namespace Tizen.NUI.BaseComponents
                 instance.InternalRepeatMode = (Tizen.NUI.BaseComponents.AnimatedVectorImageView.RepeatModes)newValue;
             }
         }
-        
         static internal object GetInternalRepeatModeProperty(BindableObject bindable)
         {
             var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;