Class SliderSettings
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
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 sealed record SliderSettings
- Inheritance
-
objectSliderSettings
Constructors
- 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.
Properties
Methods
- Deconstruct(out float?, out float?)
Reads the range alone. Kept beside the five-member form the record declares so a two-element deconstruction or positional pattern written against the record before it carried Direction, Inverted and Step still compiles.