layout | name | group |
---|---|---|
control |
Slider |
controls |
Note: You can check the Avalonia docs for the Slider and Slider API if you need more information.
For Avalonia.FuncUI's DSL properties you can check Slider.fs
The Slider control is a control that lets the user select from a range of values by moving a Thumb control along a track.
Percentage Slider
Slider.create [
Slider.minimum 0.
Slider.maximum 0.
Slider.value state.Percentage
Slider.onValueChanged (fun newPercentage -> ChangePercentage newPercentage |> dispatch)
]