> 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/es/aplicaciones/components/inputs/slider.md).

# Control deslizante

Añada deslizadores a las aplicaciones de PowerShell Universal para seleccionar valores de un rango, con mínimo, máximo, tamaño de paso, marcas y selección de rango personalizados.

Los deslizadores permiten a los usuarios realizar selecciones dentro de un rango de valores.

Los deslizadores reflejan un rango de valores a lo largo de una barra, de la cual los usuarios pueden seleccionar un único valor. Son ideales para ajustar configuraciones como el volumen, el brillo o para aplicar filtros de imagen.

## Deslizador

![](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
```

## Deslizador con valores mínimo y máximo

![](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
```

## Deslizador deshabilitado

![](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
```

## Deslizador con tamaño de paso personalizado

![](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
```

## Deslizador con marcas

![](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
```

## Deslizador basado en rango

![](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)
```

## Evento OnChange para el deslizador

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

## API

* [New-UDSlider](/powershell-universal/es/comandos-de-powershell/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/es/aplicaciones/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.
