[NUI] Fixed TCT failed issues (#1177)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Controls / Slider.cs
index 3f04ffd..fcdb913 100755 (executable)
@@ -422,6 +422,7 @@ namespace Tizen.NUI.Components
             }
         }
 
+        private StringSelector thumbImageURLSelector = new StringSelector();
         /// <summary>
         /// Gets or sets the resource url selector of the thumb image object.
         /// </summary>
@@ -430,17 +431,15 @@ namespace Tizen.NUI.Components
         {
             get
             {
-                return (StringSelector)Style.Thumb?.ResourceUrl;
+                return thumbImageURLSelector;
             }
             set
             {
-                if (value != null)
-                {
-                    Style.Thumb.ResourceUrl = value.Clone() as StringSelector;
-                }
+                thumbImageURLSelector.Clone(value);
             }
         }
 
+
         /// <summary>
         /// Gets or sets the color of the background track image object.
         /// </summary>