Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BorderLineStyle Enum

Lists line styles for cell borders.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#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

#Related API Members

The following properties accept/return BorderLineStyle values:

#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.

See Also