BorderStyle Enumeration

 

Specifies the border style for a control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[<ComVisibleAttribute(true)>]
type BorderStyle

Member nameDescription
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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: