RightBorder Class

Right Border.When the object is serialized out as xml, its qualified name is x:right.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class RightBorder : BorderPropertiesType

The following table lists the possible child types:

  • Color <x:color>

[ISO/IEC 29500-1 1st Edition]

10.4.2 right (Trailing Edge Border)

Semantically equivalent to end (Part 1, §18.8.16).

Parent Elements

border (Part 1, §18.8.4)

Child Elements


color (Data Bar Color)

Part 1, §



style (Line Style)

The line style for this border.

The possible values for this attribute are defined by the ST_BorderStyle simple type (Part 1, §18.18.3).

[Note: The W3C XML Schema definition of this element’s content model (CT_BorderPr) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.