# Sidebar.SidebarDialogStyle Enumeration

> Specifies the requested border and title bar layout of the sidebar dialog.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.Windows.Forms`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms > Sidebar.SidebarDialogStyle Enumeration
- **708 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebardialogstyle-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebardialogstyle-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebardialogstyle-enumeration/llms-full.txt

---

### Description

Specifies the [requested border and title bar layout](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/dialogstyle-property/llms-full.txt) of the [sidebar dialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/ispinned-property/llms-full.txt).

### Syntax

```csharp
public enum Sidebar.SidebarDialogStyle
```

```vbnet
Public Enum Sidebar.SidebarDialogStyle
```

### Members

| Member | Value | Description |
|---|---|---|
| Standard | 0 | The dialog's border and title bar equal to the style of a `System.Windows.Forms.Form` where the `FormBorderStyle` is set to `System.Windows.Forms.FormBorderStyle.FixedDialog`. |
| StandardSizable | 1 | The dialog's border and title bar equal to the style of a `System.Windows.Forms.Form` where the `FormBorderStyle` is set to `System.Windows.Forms.FormBorderStyle.Sizable`. |
| Sidebar | 2 | The dialog only displays the sidebar. The dialog is not sizable and neither a specific dialog border nor a title bar are set (equivalent to `System.Windows.Forms.FormBorderStyle.FixedSingle`). |
| SidebarSizable | 3 | The dialog only displays the sidebar. The dialog is sizable (equivalent to `System.Windows.Forms.FormBorderStyle.Sizable`), but neither a specific dialog border nor a title bar are set. |

### Examples

The following example selects the Standard value from the Sidebar Dialog Style enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle value = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard;
Console.WriteLine($"Using Sidebar Dialog Style: {value}");
```

```vbnet
Dim value As TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard
Console.WriteLine($"Using Sidebar Dialog Style: {value}")
```

---

## Nearby

- **Previous:** [Sidebar.SidebarContentLayout Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebarcontentlayout-enumeration/llms-full.txt)
- **Next:** [Sidebar.StylesItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/stylesitem-enumeration/llms-full.txt)
