{description} {excerpt}A [BorderPart|BorderPart] object represents a particular part of a border around a cell or area of cells.{excerpt} {signature:C#} public class BorderPart {signature}{signature:vb.net} Public Class BorderPart {signature} {remarks}To get a {{BorderPart}}, use [Border.Item|Border.Item(Border.Part)]. {remarks} {example}{code:csharp|title=C#} ExcelApplication xla = new ExcelApplication(); Workbook wb = xla.Create(); Worksheet ws = wb.Worksheets[0]; Area a = ws.CreateArea(4, 4, 15, 6); Border b = a.BorderAround; BorderPart bp = b[Border.Part.Left]; {code} {code:vb.net|title=vb.net} Dim xla As New ExcelApplication() Dim wb As Workbook = xla.Create() Dim ws As Worksheet = wb.Worksheets(0) Dim a As Area = ws.CreateArea(4, 4, 15, 6) Dim b As Border = a.BorderAround Dim bp As BorderPart = b.Item(Border.Part.Left) {code} {example} {properties} ||Name||Description|| |[Color|BorderPart.Color]|{excerpt-include:BorderPart.Color|nopanel=true}| |[Style|BorderPart.Style]|{excerpt-include:BorderPart.Style|nopanel=true}| {scrollbar} |