2 * Copyright(c) 2021 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.ComponentModel;
19 using Tizen.NUI.Binding;
21 namespace Tizen.NUI.BaseComponents
23 public partial class AnimatedVectorImageView
26 /// ResourceURLProperty
28 [EditorBrowsable(EditorBrowsableState.Never)]
29 #if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
30 public static BindableProperty ResourceURLProperty = null;
32 public static readonly BindableProperty ResourceURLProperty = null;
34 internal static void SetInternalResourceURLProperty(BindableObject bindable, object oldValue, object newValue)
36 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
37 instance.InternalResourceURL = (string)newValue;
39 internal static object GetInternalResourceURLProperty(BindableObject bindable)
41 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
42 return instance.InternalResourceURL;
46 /// ResourceUrlProperty
48 [EditorBrowsable(EditorBrowsableState.Never)]
49 #if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
50 public static new BindableProperty ResourceUrlProperty = null;
52 public static readonly new BindableProperty ResourceUrlProperty = null;
54 internal static void SetInternalResourceUrlProperty(BindableObject bindable, object oldValue, object newValue)
56 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
57 instance.InternalResourceUrl = (string)newValue;
59 internal static object GetInternalResourceUrlProperty(BindableObject bindable)
61 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
62 return instance.InternalResourceUrl;
66 /// RepeatCountProperty
68 [EditorBrowsable(EditorBrowsableState.Never)]
69 #if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
70 public static BindableProperty RepeatCountProperty = null;
72 public static readonly BindableProperty RepeatCountProperty = null;
74 internal static void SetInternalRepeatCountProperty(BindableObject bindable, object oldValue, object newValue)
76 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
79 instance.InternalRepeatCount = (int)newValue;
82 internal static object GetInternalRepeatCountProperty(BindableObject bindable)
84 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
85 return instance.InternalRepeatCount;
89 /// CurrentFrameProperty
91 [EditorBrowsable(EditorBrowsableState.Never)]
92 #if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
93 public static new BindableProperty CurrentFrameProperty = null;
95 public static readonly new BindableProperty CurrentFrameProperty = null;
97 internal static void SetInternalCurrentFrameProperty(BindableObject bindable, object oldValue, object newValue)
99 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
100 if (newValue != null)
102 instance.InternalCurrentFrame = (int)newValue;
105 internal static object GetInternalCurrentFrameProperty(BindableObject bindable)
107 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
108 return instance.InternalCurrentFrame;
112 /// RepeatModeProperty
114 [EditorBrowsable(EditorBrowsableState.Never)]
115 #if REMOVE_READONLY_FOR_BINDABLE_PROPERTY
116 public static BindableProperty RepeatModeProperty = null;
118 public static readonly BindableProperty RepeatModeProperty = null;
120 static internal void SetInternalRepeatModeProperty(BindableObject bindable, object oldValue, object newValue)
122 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
123 if (newValue != null)
125 instance.InternalRepeatMode = (Tizen.NUI.BaseComponents.AnimatedVectorImageView.RepeatModes)newValue;
128 static internal object GetInternalRepeatModeProperty(BindableObject bindable)
130 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
131 return instance.InternalRepeatMode;