Skip to main content
A newer version of this page is available. .

XlBorderLineStyle Enum

Lists values used to specify the line styles for cell borders.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v18.1.Core.dll

Declaration

public enum XlBorderLineStyle

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 particular border, use the corresponding property of the XlBorder class, which inherits the border line style options from the XlBordersBase class.

You can also set several borders at once using the XlBorder.OutlineBorders and XlBorder.AllBorders methods. These methods accept the XlBorderLineStyle enumeration member as a parameter.

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the XlBorderLineStyle 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