System.Windows.Forms.DataGridViewAdvancedCellBorderStyle Enumeration

Specifies the border styles that can be applied to the cells of a System.Windows.Forms.DataGridView control.

Syntax

public enum DataGridViewAdvancedCellBorderStyle

Remarks

The DataGridView.AdvancedCellBorderStyle property of the System.Windows.Forms.DataGridView control returns an object of type System.Windows.Forms.DataGridViewAdvancedBorderStyle, which has properties of type System.Windows.Forms.DataGridViewAdvancedCellBorderStyle.

Members

Member NameDescription
Inset

A single-line sunken border.

InsetDouble

A double-line sunken border.

None

No borders.

NotSet

The border is not set.

Outset

A single-line raised border.

OutsetDouble

A double-line raised border.

OutsetPartial

A single-line border containing a raised portion.

Single

A single-line border.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0