> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/fr/apps/components/inputs/slider.md).

# Curseur

Les curseurs permettent aux utilisateurs d'effectuer des sélections dans une plage de valeurs.

Les curseurs représentent une plage de valeurs le long d'une barre, à partir de laquelle les utilisateurs peuvent sélectionner une valeur unique. Ils sont idéaux pour ajuster des paramètres tels que le volume, la luminosité ou l'application de filtres d'image.

## Curseur

![](/files/x9jE7dx1tiggNJqBCAjf)

```powershell
New-UDSlider -Value 1
```

## Curseur avec valeurs minimale et maximale

![](/files/s8gR2qoPwpEWhtmKnHDo)

```powershell
New-UDSlider -Min 10 -Max 1000
```

## Curseur désactivé

![](/files/28j0mIke4lHtVH1x4Ku3)

```powershell
New-UDSlider -Disabled
```

## Curseur avec pas personnalisé

![](/files/UmMiRTRfdpgd1m5FYeOj)

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

## Curseur avec repères

![](/files/zXcO6UpG1jR8FLAk7Deo)

```powershell
New-UDSlider -Marks
```

## Curseur à plage

![](/files/0D1HtAejxfP1vJVPSEbp)

```powershell
New-UDSlider -Value @(1, 10)
```

## Événement OnChange du curseur

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

## API

* [New-UDSlider](https://github.com/ironmansoftware/universal-docs/blob/v5/cmdlets/New-UDSlider.txt)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/powershell-universal/fr/apps/components/inputs/slider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
