.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

BorderLineStyle Enum

Lists line styles for cell borders.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

public enum BorderLineStyle

Members

Name Description Example
None

A border is not painted.

Thin

The thin solid border line.

BorderLineStyle_Thin

Medium

The medium solid border line.

BorderLineStyle_Medium

Dashed

The thin dashed border line.

BorderLineStyle_Dashed

Dotted

The thin dotted border line.

BorderLineStyle_Dotted

Thick

The thick solid border line.

BorderLineStyle_Thick

Double

The double border line.

BorderLineStyle_Double

Hair

The hair border line.

BorderLineStyle_Hair

MediumDashed

The medium dashed border line.

BorderLineStyle_MediumDashed

DashDot

The thin dash-dotted border line.

BorderLineStyle_DashDot

MediumDashDot

The medium dash-dotted border line.

BorderLineStyle_MediumDashDot

DashDotDot

The thin dash-dot-dotted border line.

BorderLineStyle_DashDotDot

MediumDashDotDot

The medium dash-dot-dotted border line.

BorderLineStyle_MediumDashDotDot

SlantDashDot

The medium slanted dash-dotted border line.

BorderLineStyle_SlantDashDot

Remarks

To specify the border line style for a cell, use the Border.LineStyle property, or pass a BorderLineStyle enumeration member to one of the following methods:

See how to add and remove cell borders.

The following code snippets (auto-collected from DevExpress Examples) contain references to the BorderLineStyle enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also