# BorderStyle

Namespace: **Wisej.Web**

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

Specifies the border style for a control.

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

```csharp
public enum BorderStyle : Enum
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Fields

| Name       | Description                 |
| ---------- | --------------------------- |
| **Dashed** | A dashed line border.       |
| **Dotted** | A dotted line border.       |
| **Double** | A double solid line border. |
| **None**   | No border.                  |
| **Solid**  | A solid line border.        |

## Used By

| Name                                                                                                                   | Description                                                                                                                                               |
| ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Button.BorderStyle](https://docs.wisej.com/api/v3.2/buttons/button#borderstyle)                                       | Returns or sets the border style of the button control.                                                                                                   |
| [DateTimePicker.BorderStyle](https://docs.wisej.com/api/v3.2/editors/wisej.web.datetimepicker#borderstyle)             | Returns or sets the type of border that is drawn around the [DateTimePicker](https://docs.wisej.com/api/v3.2/wisej.web/editors/wisej.web.datetimepicker). |
| [Label.BorderStyle](https://docs.wisej.com/api/v3.2/content/wisej.web.label#borderstyle)                               | Indicates the border style for the control.                                                                                                               |
| [ListControl.BorderStyle](https://docs.wisej.com/api/v3.2/lists-and-grids/listcontrol#borderstyle)                     | Returns or sets the type of border that is drawn around the [ListControl](https://docs.wisej.com/api/v3.2/wisej.web/lists-and-grids/listcontrol).         |
| [MonthCalendar.BorderStyle](https://docs.wisej.com/api/v3.2/editors/monthcalendar#borderstyle)                         | Returns or sets the type of border that is drawn around the [MonthCalendar](https://docs.wisej.com/api/v3.2/wisej.web/editors/monthcalendar).             |
| [Panel.BorderStyle](https://docs.wisej.com/api/v3.2/containers/wisej.web.panel#borderstyle)                            | Indicates the border style for the control.                                                                                                               |
| [PictureBox.BorderStyle](https://docs.wisej.com/api/v3.2/content/wisej.web.picturebox#borderstyle)                     | Indicates the border style for the control.                                                                                                               |
| [ProgressBar.BorderStyle](https://docs.wisej.com/api/v3.2/content/wisej.web.progressbar#borderstyle)                   | Indicates the border style for the control.                                                                                                               |
| [SplitContainer.BorderStyle](https://docs.wisej.com/api/v3.2/containers/splitcontainer#borderstyle)                    | Returns or sets the style of border for the [SplitContainer](https://docs.wisej.com/api/v3.2/wisej.web/containers/splitcontainer).                        |
| [TabControl.BorderStyle](https://docs.wisej.com/api/v3.2/containers/tabcontrol#borderstyle)                            | Indicates the border style for the control.                                                                                                               |
| [TextBoxBase.BorderStyle](https://docs.wisej.com/api/v3.2/editors/wisej.web.textboxbase#borderstyle)                   | Returns or sets the border type of the text box control.                                                                                                  |
| [UpDownBase.BorderStyle](https://docs.wisej.com/api/v3.2/editors/wisej.web.updownbase#borderstyle)                     | Returns or sets the border style for the spin box (also known as an up-down control).                                                                     |
| [UserControl.BorderStyle](https://docs.wisej.com/api/v3.2/containers/wisej.web.usercontrol#borderstyle)                | Returns or sets the border style of the user control.                                                                                                     |
| [WebBrowser.BorderStyle](https://docs.wisej.com/api/v3.2/content/webbrowser#borderstyle)                               | Indicates the border style for the control.                                                                                                               |
| [DataGridView.BorderStyle](https://docs.wisej.com/api/v3.2/lists-and-grids/datagridview#borderstyle)                   | Returns or sets the border style for the [DataGridView](https://docs.wisej.com/api/v3.2/wisej.web/lists-and-grids/datagridview).                          |
| [DataRepeater.BorderStyle](https://docs.wisej.com/api/v3.2/containers/datarepeater#borderstyle)                        | Returns or sets the border style for the [DataRepeater](https://docs.wisej.com/api/v3.2/wisej.web/containers/datarepeater) control.                       |
| [DataRepeater.ItemBorderStyle](https://docs.wisej.com/api/v3.2/containers/datarepeater#itemborderstyle)                | Returns or sets the border style for the items in a [DataRepeater](https://docs.wisej.com/api/v3.2/wisej.web/containers/datarepeater) control.            |
| [Accordion.BorderStyle](https://docs.wisej.com/api/v3.2/containers/accordion#borderstyle)                              | Returns or sets the type of border that is drawn around the [Accordion](https://docs.wisej.com/api/v3.2/wisej.web/containers/accordion) panel.            |
| [Canvas.BorderStyle](https://docs.wisej.com/api/v3.2/content/canvas#borderstyle)                                       | Indicates the border style for the control.                                                                                                               |
| [FlashPlayer.BorderStyle](https://docs.wisej.com/api/v3.2/media/flashplayer#borderstyle)                               | Indicates the border style for the control.                                                                                                               |
| [HtmlPanel.BorderStyle](https://docs.wisej.com/api/v3.2/content/htmlpanel#borderstyle)                                 | Indicates the border style for the control.                                                                                                               |
| [IFramePanel.BorderStyle](https://docs.wisej.com/api/v3.2/content/wisej.web.iframepanel#borderstyle)                   | Indicates the border style for the control.                                                                                                               |
| [Media.BorderStyle](https://docs.wisej.com/api/v3.2/media/wisej.web.media#borderstyle)                                 | Indicates the border style for the control.                                                                                                               |
| [PdfViewer.BorderStyle](https://docs.wisej.com/api/v3.2/content/pdfviewer#borderstyle)                                 | Indicates the border style for the control.                                                                                                               |
| [SlideBar.BorderStyle](https://docs.wisej.com/api/v3.2/containers/wisej.web.slidebar#borderstyle)                      | Returns or sets the type of border that is drawn around the [SlideBar](https://docs.wisej.com/api/v3.2/wisej.web/containers/wisej.web.slidebar) control.  |
| [Widget.BorderStyle](https://docs.wisej.com/api/v3.2/content/widget#borderstyle)                                       | Indicates the border style for the control.                                                                                                               |
| [ListView.BorderStyle](https://docs.wisej.com/api/v3.2/lists-and-grids/listview#borderstyle)                           | Returns or sets the border style of the control.                                                                                                          |
| [MenuBar.BorderStyle](https://docs.wisej.com/api/v3.2/menus/wisej.web.menubar#borderstyle)                             | Returns or sets the border style of the [MenuBar](https://docs.wisej.com/api/v3.2/wisej.web/menus/wisej.web.menubar) control.                             |
| [PropertyGrid.BorderStyle](https://docs.wisej.com/api/v3.2/lists-and-grids/propertygrid#borderstyle)                   | Indicates the border style for the property grid.                                                                                                         |
| [ToolBar.BorderStyle](https://docs.wisej.com/api/v3.2/containers/toolbar#borderstyle)                                  | Returns or sets the border style of the toolbar control.                                                                                                  |
| [TreeView.BorderStyle](https://docs.wisej.com/api/v3.2/lists-and-grids/treeview#borderstyle)                           | Gets or sets the border style of the tree view control.                                                                                                   |
| [MdiTabProperties.BorderStyle](https://docs.wisej.com/api/v3.2/containers/form/wisej.web.mditabproperties#borderstyle) | Indicates the border style for the control.                                                                                                               |
