Class VSliderInt
- Namespace
- Velvet.Experimental
- Assembly
- Velvet.Docs.dll
EXPERIMENTAL. Initializer-style builder for a whole-number slider. Maps to SliderInt(string?, int?, int?, int?, Action<int>?, string?, string?, bool?, Func<VisualElement, Action>?, Action<VisualElement>?, string?, string?, string?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?, SliderDirection?, bool?, int?, FiberEventBinding[]?). Sliders are leaves; children added via the collection initializer are ignored.
public sealed class VSliderInt : VBuilder
- Inheritance
-
objectVSliderInt
- 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).