BorderStyle Enumeration
.NET Framework (current version)
Specifies the border style for a control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Member name | Description | |
|---|---|---|
| Fixed3D | A three-dimensional border. | |
| FixedSingle | A single-line border. | |
| None | No border. |
Use the members of this enumeration to set the border style for controls that have a changeable border.
The following code example demonstrates how to use the BorderStyle enumeration and the TreeView.BorderStyle, TreeView.HideSelection and the TreeView.ShowRootLines properties. To run this example, paste the following code in a form and call the InitializeTreeView method in the form's constructor or Load method.
.NET Framework
Available since 1.1
Available since 1.1
Show: