TopLeftToBottomRightCellBorder Class

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

Inheritance Hierarchy


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


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


[ISO/IEC 29500-1 1st Edition]

17.4.74 tl2br (Table Cell Top Left to Bottom Right Diagonal Border)

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

If this element is omitted, then the top left to bottom right 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 first cell in the first row specifies a top left to bottom right diagonal cell border as follows:





This diagonal cell border is specified using the following WordprocessingML:

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

The tl2br 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


TopLeftToBottomRightCellBorder Members

DocumentFormat.OpenXml.Wordprocessing Namespace