# 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 WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > Sidebar.DialogStyle Property
- **396 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/dialogstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/dialogstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/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-wpf/reference/txtextcontrol-wpf/sidebar/sidebardialogstyle-enumeration/llms-full.txt) of the [sidebar dialog](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/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 configured value is checked before the workflow continues.

```csharp
sidebar.DialogStyle = TXTextControl.WPF.Sidebar.SidebarDialogStyle.Standard;
Console.WriteLine($"Dialog Style used by Sidebar: {sidebar.DialogStyle}");
```

```vbnet
sidebar.DialogStyle = TXTextControl.WPF.Sidebar.SidebarDialogStyle.Standard
Console.WriteLine($"Dialog Style used by Sidebar: {sidebar.DialogStyle}")
```

---

## Nearby

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