Skip to main content

XlBorderLineStyle Enum

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

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.Printing.Core

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.

See Also