Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 916 Bytes

Slider.md

File metadata and controls

29 lines (24 loc) · 916 Bytes
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.

Usage

Percentage Slider

Slider.create [
    Slider.minimum 0.
    Slider.maximum 0.
    Slider.value state.Percentage
    Slider.onValueChanged (fun newPercentage -> ChangePercentage newPercentage |> dispatch)

]