* [NUI] Add ThumbColor property to Slider
- Change Slider's Thumb image into colorless image
- Set default Color for Thumb image
}
/// <summary>
+ /// Gets or sets the color of the thumb image object.
+ /// </summary>
+ /// <since_tizen> 8 </since_tizen>
+ public Color ThumbColor
+ {
+ get
+ {
+ return thumbImage?.Color;
+ }
+ set
+ {
+ if (null != thumbImage)
+ {
+ thumbImage.Color = value;
+ sliderStyle.Thumb.Color = value;
+ }
+ }
+ }
+
+ /// <summary>
/// Gets or sets the color of the background track image object.
/// </summary>
/// <since_tizen> 6 </since_tizen>
Thumb = new ImageViewStyle
{
Size = new Size(50, 50),
+ Color = new Color("0ea1e6"),
ResourceUrl = StyleManager.GetFrameworkResourcePath("nui_component_default_slider_thumb_n.png"),
BackgroundImage = new Selector<string>
{