.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row
A newer version of this page is available. Switch to the current version.

BorderLineStyle Enum

Lists line styles used for cell borders.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public enum BorderLineStyle

Members

Name Description
None

Specifies that a border is not painted.

Thin

Specifies the thin solid border line.

BorderLineStyle_Thin

Medium

Specifies the medium solid border line.

BorderLineStyle_Medium

Dashed

Specifies the thin dashed border line.

BorderLineStyle_Dashed

Dotted

Specifies the thin dotted border line.

BorderLineStyle_Dotted

Thick

Specifies the thick solid border line.

BorderLineStyle_Thick

Double

Specifies the double border line.

BorderLineStyle_Double

Hair

Specifies the hair border line.

BorderLineStyle_Hair

MediumDashed

Specifies the medium dashed border line.

BorderLineStyle_MediumDashed

DashDot

Specifies the thin dash-dotted border line.

BorderLineStyle_DashDot

MediumDashDot

Specifies the medium dash-dotted border line.

BorderLineStyle_MediumDashDot

DashDotDot

Specifies the thin dash-dot-dotted border line.

BorderLineStyle_DashDotDot

MediumDashDotDot

Specifies the medium dash-dot-dotted border line.

BorderLineStyle_MediumDashDotDot

SlantDashDot

Specifies the medium slanted dash-dotted border line.

BorderLineStyle_SlantDashDot

Remarks

To specify the line style for a cell border, use the Border.LineStyle property, or pass the BorderLineStyle enumeration member to the Borders.SetOutsideBorders, Range.SetInsideBorders or Borders.SetAllBorders method.

For more information on how to customize cell borders, refer to the How to: Add and Remove Cell Borders example.

See Also