diff --git a/src/Tizen.NUI/src/public/BaseComponents/AnimatedImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/AnimatedImageView.cs index e8ac7c7a1eb..13254f5b70f 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/AnimatedImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/AnimatedImageView.cs @@ -28,6 +28,10 @@ namespace Tizen.NUI.BaseComponents public partial class AnimatedImageView : ImageView { #region Internal + /// + /// Actions property value to Jump to the specified frame. + /// + internal static readonly int ActionJumpTo = Interop.AnimatedImageView.AnimatedImageVisualActionJumpToGet(); #endregion Internal #region Private @@ -50,9 +54,6 @@ public partial class AnimatedImageView : ImageView [EditorBrowsable(EditorBrowsableState.Never)] public AnimatedImageView() : base() { - ActionPlay = Interop.AnimatedImageView.AnimatedImageVisualActionPlayGet(); - ActionPause = Interop.AnimatedImageView.AnimatedImageVisualActionPauseGet(); - ActionStop = Interop.AnimatedImageView.AnimatedImageVisualActionStopGet(); } /// @@ -355,13 +356,6 @@ private int InternalCurrentFrame return ret; } } - - /// - /// Actions property value to Jump to the specified frame. - /// This property can be redefined by child class if it use different value. - /// - [EditorBrowsable(EditorBrowsableState.Never)] - protected int ActionJumpTo { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionJumpToGet(); #endregion Property #region Method diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index b552ea54f7f..af61687e383 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -891,28 +891,22 @@ private bool InternalCropToMask /// /// Actions property value for Reload image. /// - private int ActionReload { get; set; } = Interop.ImageView.ImageVisualActionReloadGet(); + internal static readonly int ActionReload = Interop.ImageView.ImageVisualActionReloadGet(); /// /// Actions property value to Play animated images. - /// This property can be redefined by child class if it use different value. /// - [EditorBrowsable(EditorBrowsableState.Never)] - protected int ActionPlay { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionPlayGet(); + internal static readonly int ActionPlay = Interop.AnimatedImageView.AnimatedImageVisualActionPlayGet(); /// /// Actions property value to Pause animated images. - /// This property can be redefined by child class if it use different value. /// - [EditorBrowsable(EditorBrowsableState.Never)] - protected int ActionPause { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionPauseGet(); + internal static readonly int ActionPause = Interop.AnimatedImageView.AnimatedImageVisualActionPauseGet(); /// /// Actions property value to Stop animated images. - /// This property can be redefined by child class if it use different value. /// - [EditorBrowsable(EditorBrowsableState.Never)] - protected int ActionStop { get; set; } = Interop.AnimatedImageView.AnimatedImageVisualActionStopGet(); + internal static readonly int ActionStop = Interop.AnimatedImageView.AnimatedImageVisualActionStopGet(); internal VisualFittingModeType ConvertFittingModetoVisualFittingMode(FittingModeType value) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs b/src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs index 31d88263fab..f73cc2dfd55 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs @@ -49,10 +49,6 @@ public partial class LottieAnimationView : ImageView /// 7 public LottieAnimationView(float scale = 1.0f, bool shown = true) : base() { - ActionPlay = Interop.LottieAnimationView.AnimatedVectorImageVisualActionPlayGet(); - ActionPause = Interop.LottieAnimationView.AnimatedVectorImageVisualActionPauseGet(); - ActionStop = Interop.LottieAnimationView.AnimatedVectorImageVisualActionStopGet(); - NUILog.Debug($"< constructor GetId={GetId()} >"); currentStates.url = ""; currentStates.loopCount = 1; @@ -442,18 +438,6 @@ private bool InternalRedrawInScalingDown return currentStates.redrawInScalingDown; } } - - - /// - /// Actions property value to Jump to the specified frame. - /// This property can be redefined by child class if it use different value. - /// - [EditorBrowsable(EditorBrowsableState.Never)] - protected int ActionJumpTo { get; set; } = Interop.LottieAnimationView.AnimatedVectorImageVisualActionJumpToGet(); - - // This is used for internal purpose. hidden API. - [EditorBrowsable(EditorBrowsableState.Never)] - protected int ActionSetDynamicProperty { get; set; } = Interop.LottieAnimationView.AnimatedVectorImageVisualActionSetDynamicProperty(); #endregion Property @@ -916,6 +900,14 @@ public enum VectorProperty #region Internal + /// + /// Actions property value to Jump to the specified frame. + /// + internal static readonly int ActionJumpTo = Interop.LottieAnimationView.AnimatedVectorImageVisualActionJumpToGet(); + + // This is used for internal purpose. + internal static readonly int ActionSetDynamicProperty = Interop.LottieAnimationView.AnimatedVectorImageVisualActionSetDynamicProperty(); + internal class VisualEventSignalArgs : EventArgs { public int VisualIndex