Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 1.26 KB

File metadata and controls

71 lines (45 loc) · 1.26 KB
description
Slider component for Universal Apps.

Slider

Sliders allow users to make selections from a range of values.

Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.

Slider

New-UDSlider -Value 1

Slider with minimum and maximum values

New-UDSlider -Min 10 -Max 1000

Disabled Slider

New-UDSlider -Disabled

Slider with custom step size

New-UDSlider -Min 10 -Max 1000 -Step 100

Slider with marks

New-UDSlider -Marks

Range based slider

New-UDSlider -Value @(1, 10)

OnChange event for slider

New-UDSlider -OnChange {
    Show-UDToast -Message $Body 
    Set-TestData $Body
}

API