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 public static readonly BindableProperty ResourceURLProperty = null;
31 internal static void SetInternalResourceURLProperty(BindableObject bindable, object oldValue, object newValue)
33 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
34 instance.InternalResourceURL = (string)newValue;
37 internal static object GetInternalResourceURLProperty(BindableObject bindable)
39 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
40 return instance.InternalResourceURL;
44 /// ResourceUrlProperty
46 [EditorBrowsable(EditorBrowsableState.Never)]
47 public static new readonly BindableProperty ResourceUrlProperty = null;
49 internal static void SetInternalResourceUrlProperty(BindableObject bindable, object oldValue, object newValue)
51 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
52 instance.InternalResourceUrl = (string)newValue;
55 internal static object GetInternalResourceUrlProperty(BindableObject bindable)
57 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
58 return instance.InternalResourceUrl;
62 /// RepeatCountProperty
64 [EditorBrowsable(EditorBrowsableState.Never)]
65 public static readonly BindableProperty RepeatCountProperty = null;
67 internal static void SetInternalRepeatCountProperty(BindableObject bindable, object oldValue, object newValue)
69 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
72 instance.InternalRepeatCount = (int)newValue;
75 internal static object GetInternalRepeatCountProperty(BindableObject bindable)
77 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
78 return instance.InternalRepeatCount;
82 /// CurrentFrameProperty
84 [EditorBrowsable(EditorBrowsableState.Never)]
85 public static new readonly BindableProperty CurrentFrameProperty = null;
87 internal static void SetInternalCurrentFrameProperty(BindableObject bindable, object oldValue, object newValue)
89 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
92 instance.InternalCurrentFrame = (int)newValue;
96 internal static object GetInternalCurrentFrameProperty(BindableObject bindable)
98 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
99 return instance.InternalCurrentFrame;
103 /// RepeatModeProperty
105 [EditorBrowsable(EditorBrowsableState.Never)]
106 public static readonly BindableProperty RepeatModeProperty = null;
108 static internal void SetInternalRepeatModeProperty(BindableObject bindable, object oldValue, object newValue)
110 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
111 if (newValue != null)
113 instance.InternalRepeatMode = (Tizen.NUI.BaseComponents.AnimatedVectorImageView.RepeatModes)newValue;
117 static internal object GetInternalRepeatModeProperty(BindableObject bindable)
119 var instance = (Tizen.NUI.BaseComponents.AnimatedVectorImageView)bindable;
120 return instance.InternalRepeatMode;