# Placement

Namespace: **Wisej.Web**

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

Determines the position of the popup in relation to the opener control.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum Placement : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum Placement As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name             | Description                                                               |
| ---------------- | ------------------------------------------------------------------------- |
| **BottomCenter** | The popup is shown below the opener and horizontally centered.            |
| **BottomLeft**   | The popup is shown below the opener aligned to the left edge.             |
| **BottomRight**  | The popup is shown below the opener aligned to the right edge.            |
| **LeftBottom**   | The popup is shown to the left of the opener aligned to the bottom edge.  |
| **LeftMiddle**   | The popup is shown to the left of the opener and vertically centered.     |
| **LeftTop**      | The popup is shown to the left of the opener aligned to the top edge.     |
| **RightBottom**  | The popup is shown to the right of the opener aligned to the bottom edge. |
| **RightMiddle**  | The popup is shown to the right of the opener and vertically centered.    |
| **RightTop**     | The popup is shown to the right of the opener aligned to the top edge.    |
| **TopCenter**    | The popup is shown above the opener and horizontally centered.            |
| **TopLeft**      | The popup is shown above the opener aligned to the left edge.             |
| **TopRight**     | The popup is shown above the opener aligned to the right edge.            |

## Used By

| Name                                                                                                         | Description                                                                                                                                                                                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [HelpTip.Alignment](https://docs.wisej.com/api/extenders/wisej.web.helptip#alignment)                        | Returns or sets the position of the HelpTip in relation to the target control.                                                                                                                                                                                                                                                          |
| [UserPopup.Alignment](https://docs.wisej.com/api/containers/wisej.web.userpopup#alignment)                   | Returns or sets the alignment side and position of the popup. The actual location depends on the placement methods defined by the [PlacementModeX](https://docs.wisej.com/api/containers/wisej.web.userpopup#placementmodex) and [PlacementModeY](https://docs.wisej.com/api/containers/wisej.web.userpopup#placementmodey) properties. |
| [ContextMenu.Show](https://docs.wisej.com/api/menus/wisej.web.contextmenu#show-component-position-onclose)   | Displays the context menu at the specified position in relation to the specified component.                                                                                                                                                                                                                                             |
| [ContextMenu.ShowAsync](https://docs.wisej.com/api/menus/wisej.web.contextmenu#showasync-component-position) | Asynchronously displays the context menu at the specified position in relation to the specified component.                                                                                                                                                                                                                              |
