Skip to main content

XlBorder.LeftColor Property

Gets or sets the line color of the cell’s left border.

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.Printing.Core

#Declaration

public XlColor LeftColor { get; set; }

#Property Value

Type Description
XlColor

An XlColor object that specifies the border line color.

#Remarks

Use the LeftColor property to set or obtain the left border color. If you specify the LeftColor for a border without setting it’s XlBordersBase.LeftLineStyle, the border will not be displayed.

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

See Also