# SliderOrientation struct

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

```cs
public struct SliderOrientation
```

> **Obsolete:** Since 2.1: Use Orientation instead

Enumeration of the orientations available for the [Slider](https://eto.picoe.ca/api/type/eto.forms.slider.md) control

## Properties

- [Horizontal](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/horizontal.md): (static) Slider should be shown in a horizontal orientation
- [Vertical](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/vertical.md): (static) Slider should be shown in a vertical orientation

## Methods

- [Equals](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/equals.md): Determines whether the specified [object](https://learn.microsoft.com/dotnet/api/system.object) is equal to the current [SliderOrientation](https://eto.picoe.ca/api/type/eto.forms.sliderorientation.md).
- [GetHashCode](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/gethashcode.md): Serves as a hash function for a [SliderOrientation](https://eto.picoe.ca/api/type/eto.forms.sliderorientation.md) object.

## Operators

- [operator ==](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/op-equality.md): (static) Compares for equality
- [operator !=](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/op-inequality.md): (static) Compares for inequality

## Convertors

- [operator implicit](https://eto.picoe.ca/api/type/eto.forms.sliderorientation/op-implicit.md): (2 overloads, static) Converts to an Orientation
