# TreeBorderStyleConstants
{: .no_toc }

The border style enumeration used by both [**TreeView.BorderStyle**](/tB/Packages/WinNativeCommonCtls/TreeView/index.md#borderstyle) and [**ListView.BorderStyle**](/tB/Packages/WinNativeCommonCtls/ListView/index.md#borderstyle). The `cc…` (common-controls) prefix reflects that the enum is shared across multiple controls in this package.

The effective rendering interacts with [**Appearance**](/tB/Packages/VBRUN/Constants/AppearanceConstants.md): when **Appearance** is **vbAppear3d** and **BorderStyle** is **ccFixedSingle**, the control gets an OS-themed 3D edge (`WS_EX_CLIENTEDGE`); when **Appearance** is **vbAppearFlat** and **BorderStyle** is **ccFixedSingle**, the control gets a single-pixel flat border (`WS_BORDER`).

| Member                | Value | Description                  |
|-----------------------|-------|------------------------------|
| **ccNone**{: #ccNone }              | 0 | No border around the control. |
| **ccFixedSingle**{: #ccFixedSingle } | 1 | Single-pixel border.          |

![Three TreeViews: with BorderStyle ccNone the tree has no border, and with ccFixedSingle it has a thin grey border, the same with Appearance vbAppear3d and vbAppearFlat under visual styles](/Reference/Built-In/WinNativeCommonCtls/Enumerations/Images/TreeBorderStyleConstants.png){:width="611" height="217"}

## See Also

- [TreeView](/tB/Packages/WinNativeCommonCtls/TreeView/index.md) -- consumer
- [ListView](/tB/Packages/WinNativeCommonCtls/ListView/index.md) -- consumer
