# VerticalAlignment

URL: https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.verticalalignment

Version: 4.1
Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.1.0.0)

Specifies how an object or text in a control is vertically aligned relative to an element of the control.

- C# - VB.NET

```csharp
public enum VerticalAlignment : Enum
```

```visual
Public Enum VerticalAlignment As [Enum]
```

## Fields

| Name | Description | **Bottom** | The object or text is aligned on the bottom of the control element. | **Middle** | The object or text is aligned in the middle of the control element. | **Top** | The object or text is aligned on the top of the control element. 

## Used By

| Name | Description | [Control.LayoutChildren](/api/wisej.web/general/control/#layoutchildren-dock-spacing-usemargins-halign-valign) | Arranges all the childControl using the specified *dock* style, spaced by *spacing* pixels. | [Control.ScrollControlIntoView](/api/wisej.web/general/control/#scrollcontrolintoview-alignx-aligny) | Scrolls the control into view in the container using the specified *alignX* and *alignY* preferences. | [ScrollableControl.ScrollControlIntoView](/api/wisej.web/containers/scrollablecontrol/#scrollcontrolintoview-control) | Scrolls the specified child *control* into view. using the specified *alignX* and *alignY* preferences. | [FlexLayoutPanel.VerticalAlign](/api/wisej.web/containers/flexlayoutpanel/#verticalalign) | Determines the vertical alignment of the child controls when [LayoutStyle](/api/wisej.web/containers/flexlayoutpanel/#layoutstyle) is set to [Horizontal](/api/wisej.web/containers/flexlayoutpanel/wisej.web.flexlayoutstyle#fields) . | [FlexLayoutPanel.GetAlignY](/api/wisej.web/containers/flexlayoutpanel/#getaligny-control) | Determines the vertical alignment of the child control within the panel when [LayoutStyle](/api/wisej.web/containers/flexlayoutpanel/#layoutstyle) is set to [Horizontal](/api/wisej.web/containers/flexlayoutpanel/wisej.web.flexlayoutstyle#fields) . | [SlideBar.ScrollControlIntoView](/api/wisej.web/containers/wisej.web.slidebar#scrollcontrolintoview-control) | Scrolls the specified child *control* into view. using the specified *alignY* preference. | [ControlExtensions.ScrollControlIntoView](/api/wisej.web.markup/extensions/wisej.web.markup.controlextensions#scrollcontrolintoview-control) | Scrolls the control into view within its parent container, aligning it according to the specified horizontal and vertical alignment. | [FlexLayoutPanelExtensions.VerticalAlign](/api/wisej.web.markup/extensions/wisej.web.markup.flexlayoutpanelextensions#verticalalign-panel-value) | Sets the vertical alignment of the specifiedFlexLayoutPanel . | [FlexLayoutPanelExtensions.AlignY](/api/wisej.web.markup/extensions/wisej.web.markup.flexlayoutpanelextensions#aligny-panel-control-value) | Sets the vertical alignment for a specific control within the specifiedFlexLayoutPanel .
