# IWorkCellVerticalAlignment

The native vertical position of content within a table cell.

Enum 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[IWorkCellPadding.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkCellPadding.cs#L23)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

The native vertical position of content within a table cell.

## Inheritance

- Enum
- IWorkCellVerticalAlignment

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 5

- Field [IWorkCellVerticalAlignment.Bottom](/api/iwork/officeimo-iwork-iworkcellverticalalignment/#field-bottom)
- Field [IWorkCellVerticalAlignment.Middle](/api/iwork/officeimo-iwork-iworkcellverticalalignment/#field-middle)
- Field [IWorkCellVerticalAlignment.Top](/api/iwork/officeimo-iwork-iworkcellverticalalignment/#field-top)
- Method [IWorkTable.GetVerticalAlignment](/api/iwork/officeimo-iwork-iworktable/#method-getverticalalignment-int32-int32)
- Property [IWorkTableCell.VerticalAlignment](/api/iwork/officeimo-iwork-iworktablecell/#property-verticalalignment)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const IWorkCellVerticalAlignment Top` [#](#field-top)

[IWorkCellPadding.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkCellPadding.cs#L25)

Content sits at the top of the cell.

Value: `0`

`public const IWorkCellVerticalAlignment Middle` [#](#field-middle)

[IWorkCellPadding.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkCellPadding.cs#L27)

Content is centered vertically.

Value: `1`

`public const IWorkCellVerticalAlignment Bottom` [#](#field-bottom)

[IWorkCellPadding.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkCellPadding.cs#L29)

Content sits at the bottom of the cell.

Value: `2`

<!-- PowerForge markdown artifact sha256:8FAE4A1995B060749220B4FA0B03203873317E4CAE637A445AFA77CC5D9EBB2E -->
