# ErrorIconAlignment

URL: https://docs.wisej.com/api/wisej.web/extenders/wisej.web.erroriconalignment

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

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

Specifies constants indicating the locations that an error icon can appear in relation to the control with an error.

- C# - VB.NET

```csharp
public enum ErrorIconAlignment : Enum
```

```visual
Public Enum ErrorIconAlignment As [Enum]
```

## Fields

| Name | Description | **BottomLeft** | The icon appears aligned with the bottom of the control and the left of the control. | **BottomRight** | The icon appears aligned with the bottom of the control and the right of the control. | **MiddleLeft** | The icon appears aligned with the middle of the control and the left of the control. | **MiddleRight** | The icon appears aligned with the middle of the control and the right of the control. | **TopLeft** | The icon appears aligned with the top of the control and to the left of the control. | **TopRight** | The icon appears aligned with the top of the control and to the right of the control. 

## Used By

| Name | Description | [ErrorProvider.IconAlignment](/api/wisej.web/extenders/errorprovider/#iconalignment) | Returns or sets the default [ErrorIconAlignment](/api/wisej.web/extenders/wisej.web.erroriconalignment) . | [ErrorProvider.GetIconAlignment](/api/wisej.web/extenders/errorprovider/#geticonalignment-control) | Returns a value indicating where the error icon should be placed in relation to the control.
