TopRightToBottomLeftCellBorder Class

Table Cell Top Right to Bottom Left Diagonal Border.When the object is serialized out as xml, its qualified name is w:tr2bl.

Inheritance Hierarchy


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


Public Class TopRightToBottomLeftCellBorder _
    Inherits BorderType
Dim instance As TopRightToBottomLeftCellBorder
public class TopRightToBottomLeftCellBorder : BorderType


[ISO/IEC 29500-1 1st Edition]

17.4.80 tr2bl (Table Cell Top Right to Bottom Left Diagonal Border)

This element specifies the border which shall be displayed on the top right to bottom left diagonal within the current table cell.

If this element is omitted, then the top right to bottom left diagonal of this table cell shall not have a cell border, and its border can use the table's border settings as appropriate.

[Example: Consider a table in which the second cell in the second row specifies a top right to bottom left diagonal cell border as follows:





This diagonal cell border is specified using the following WordprocessingML:

<w:tr2bl w:val="double" w:sz="4" w:space="0" w:color="FF0000"/>

The tr2bl element specifies a point border of type double on the table cell's diagonal. end example

Parent Elements

tcBorders (§17.4.67)

This element’s content model is defined by the common border properties definition in §17.3.4.

© ISO/IEC29500: 2008.

Thread Safety

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

See Also


TopRightToBottomLeftCellBorder Members

DocumentFormat.OpenXml.Wordprocessing Namespace