# Sidebar.DialogStyle Property

> Gets or sets the requested border and title bar layout of the sidebar dialog. The default value is SidebarDialogStyle.Standard.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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.DialogStyle Property
- **371 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/dialogstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/dialogstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/dialogstyle-property/llms-full.txt

---

### Description

Gets or sets the [requested border and title bar layout](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebardialogstyle-enumeration/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). The default value is `SidebarDialogStyle.Standard`.

### Syntax

```csharp
public Sidebar.SidebarDialogStyle DialogStyle { get; set; }
```

```vbnet
Public Property DialogStyle As Sidebar.SidebarDialogStyle
```

### Examples

The following example uses `Sidebar.DialogStyle` to configure dialog style as part of the sidebar workflow. The change is then applied to the active document or user interface.

```csharp
sidebar.DialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard;
sidebar.Update();
```

```vbnet
sidebar.DialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard
sidebar.Update()
```

---

## Nearby

- **Previous:** [Sidebar.DialogSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/dialogsize-property/llms-full.txt)
- **Next:** [Sidebar.DocumentSettingsItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/documentsettingsitem-enumeration/llms-full.txt)
