.. default-domain:: cs .. highlight:: csharp .. namespace:: KRPC.Client.Services.UI Slider ====== .. class:: Slider A control for choosing a number by dragging a handle along a track. Added to a :type:`Canvas` or a :type:`Panel`. | Base class: :type:`InputControl` .. container:: inherited-members .. rubric:: Inherited Members * From :type:`InputControl`: :prop:`Changed ` * From :type:`Control`: :prop:`Interactable `, :prop:`Color `, :prop:`Tooltip ` * From :type:`Object`: :prop:`RectTransform `, :prop:`LayoutElement `, :prop:`Visible `, :meth:`Remove ` .. property:: float Value { get; set; } The value of the slider, between :prop:`Slider.Min` and :prop:`Slider.Max`. Setting a value outside the range is refused. :Game Scenes: All .. property:: float Min { get; set; } The value at the low end of the slider, which is its left hand end, or the bottom of a vertical slider. Must not be greater than :prop:`Slider.Max`. :Game Scenes: All .. property:: float Max { get; set; } The value at the high end of the slider, which is its right hand end, or the top of a vertical slider. Must not be less than :prop:`Slider.Min`. :Game Scenes: All