DataGridViewHeaderBorderStyle Enumeration

 

Specifies the border style that can be applied to the ColumnHeadersBorderStyle and RowHeadersBorderStyle properties of a DataGridView control.

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

public enum class DataGridViewHeaderBorderStyle

Member nameDescription
Custom

A border that has been customized.

None

No borders.

Raised

A three-dimensional raised border.

Single

A single-line border.

Sunken

A three-dimensional sunken border.

The following code example illustrates the use of this type. For more information, see How to: Change the Border and Gridline Styles in the Windows Forms DataGridView Control.

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

.NET Framework
Available since 2.0
Return to top
Show: