# VerticalAlign 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 VerticalAlign
```

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

Specifies the horizontal alignment for a [Label](https://eto.picoe.ca/api/type/eto.forms.label.md)

## Properties

- [Bottom](https://eto.picoe.ca/api/type/eto.forms.verticalalign/bottom.md): (static) Text will be aligned to the bottom of the label
- [Middle](https://eto.picoe.ca/api/type/eto.forms.verticalalign/middle.md): (static) Text will be aligned to the middle of the label
- [Top](https://eto.picoe.ca/api/type/eto.forms.verticalalign/top.md): (static) Text will be aligned to the top of the label

## Methods

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

## Operators

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

## Convertors

- [operator implicit](https://eto.picoe.ca/api/type/eto.forms.verticalalign/op-implicit.md): (3 overloads, static) Convert from string to vertical align (for json/xaml compat)
