> 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/de/apps/components/inputs/slider.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Slider

Fügen Sie PowerShell Universal-Apps Schieberegler hinzu, um Werte aus einem Bereich auszuwählen, mit benutzerdefiniertem Minimum, Maximum, Schrittweite, Markierungen und Bereichsauswahl.

Slider ermöglichen Benutzern die Auswahl aus einem Wertebereich.

Slider stellen einen Wertebereich entlang einer Leiste dar, aus dem Benutzer einen einzelnen Wert auswählen können. Sie sind ideal zum Anpassen von Einstellungen wie Lautstärke oder Helligkeit oder zum Anwenden von Bildfiltern.

## Slider

![](https://218893503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAje1UFQFSPx2kH2ueeCf%2Fuploads%2Fgit-blob-95c9569cefab18e02eb21b9d1fafc5d834bdfb06%2Fimage%20\(379\).png?alt=media)

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

## Slider mit Minimal- und Maximalwerten

![](https://218893503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAje1UFQFSPx2kH2ueeCf%2Fuploads%2Fgit-blob-7df1e88737c47265b4c8259b4e40165a65af2714%2Fimage%20\(487\).png?alt=media)

```powershell
New-UDSlider -Minimum 10 -Maximum 1000
```

## Deaktivierter Slider

![](https://218893503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAje1UFQFSPx2kH2ueeCf%2Fuploads%2Fgit-blob-4784e17d3af9da3a61d3af2ce1b020286faaf623%2Fimage%20\(197\).png?alt=media)

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

## Slider mit benutzerdefinierter Schrittgröße

![](https://218893503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAje1UFQFSPx2kH2ueeCf%2Fuploads%2Fgit-blob-6e3f072285fc5c7ba3290d1a4be30167d0d1255d%2Fimage%20\(508\).png?alt=media)

```powershell
New-UDSlider -Minimum 10 -Maximum 1000 -Step 100
```

## Slider mit Markierungen

![](https://218893503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAje1UFQFSPx2kH2ueeCf%2Fuploads%2Fgit-blob-97efce0099b59035e70f7dc412be2eb9b32ccd83%2Fimage%20\(388\).png?alt=media)

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

## Bereichsbasierter Slider

![](https://218893503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAje1UFQFSPx2kH2ueeCf%2Fuploads%2Fgit-blob-5f126741853c258201a26b599e14636798912dea%2Fimage%20\(381\).png?alt=media)

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

## OnChange-Event für Slider

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

## API

* [New-UDSlider](https://docs.devolutions.net/powershell-universal/de/powershell-befehle/new-udslider.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
