Skip to main content
Version: 4.1

DataGridViewCellBorderStyle

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

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

public enum DataGridViewCellBorderStyle : Enum

Fields​

NameDescription
BothBoth vertical and horizontal border.
HorizontalAn horizontal border between rows.
NoneNo borders.
VerticalA vertical border between columns.

Used By​

NameDescription
DataGridView.CellBorderStyleReturns or sets the cell border style for the DataGridView control.
DataGridView.ColumnHeadersBorderStyleReturns or sets the border style for the column headers in the DataGridView control.