Constructor SliderSettings
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
SliderSettings(float?, float?, SliderDirection?, bool?, float?)
Slider.lowValue / highValue / direction / inverted, and the keyboard step. Record structural equality simplifies DiffProps.
A null Direction or Inverted is undeclared: one no render has declared is
not written, and one a render declared and a later render dropped is restored to what the slider
carried when a render first declared it. A null bound is written as 0 or 10 whenever either bound's
declaration changes. Step is Radix's step, and null is its default of 1.
public SliderSettings(float? LowValue = null, float? HighValue = null, SliderDirection? Direction = null, bool? Inverted = null, float? Step = null)
Parameters
LowValuefloat?HighValuefloat?DirectionSliderDirection?Invertedbool?Stepfloat?