# StepperValidDirections enum

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[Flags]
public enum StepperValidDirections
```

Valid stepper directions for the (typically) up/down buttons

**Remarks:** Note that some platforms do not actually disable the up or down buttons, but just won't trigger the [Stepper.Step](https://eto.picoe.ca/api/type/eto.forms.stepper/step.md) event when it is not valid.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Neither the up or down buttons are valid |
| Up | 1 | Specifies that the up/increase button is a valid direction for the stepper |
| Down | 2 | Specifies that the down/decrease button is a valid direction for the stepper |
| Both | 3 | Combines both the [StepperValidDirections.Up](https://eto.picoe.ca/api/type/eto.forms.steppervaliddirections.md) and [StepperValidDirections.Down](https://eto.picoe.ca/api/type/eto.forms.steppervaliddirections.md) flags. |
