Class VSlider
- Namespace
- Velvet.Experimental
- Assembly
- Velvet.Docs.dll
EXPERIMENTAL. Initializer-style builder for a slider. Maps to Slider(string?, float?, float?, float?, Action<float>?, string?, string?, bool?, Func<VisualElement, Action>?, Action<VisualElement>?, string?, string?, string?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?, SliderDirection?, bool?, float?, FiberEventBinding[]?). Sliders are leaves; children added via the collection initializer are ignored.
public sealed class VSlider : VBuilder
- Inheritance
-
objectVSlider
- Inherited Members
Constructors
Properties
- Direction
Axis the slider runs along.
- Enabled
When false, disables user interaction.
- HighValue
Upper bound of the slider range.
- Inverted
When true, swaps the ends the low and high values sit at.
- LowValue
Lower bound of the slider range.
- OnChange
Handler invoked when the value changes.
- Step
Distance one arrow key moves the value; null is 1.
- Value
Current value (controlled).