Export (0) Print
Expand All

PreviousTableRowProperties class

Previous Table Row Properties. When the object is serialized out as xml, its qualified name is w:trPr.


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

public class PreviousTableRowProperties : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

trPr (Previous Table Row Properties)

This element specifies a previous set of table cell properties, the modifications to which shall be attributed to a revision by a particular author and at a particular time. This element contains the table cell property settings which were previously in place before a specific set of revisions by one author. Each unique property is specified by a child element of this element. These properties affect the appearance of all cells in the current row within the parent table, but can be overridden by individual cell-level properties, as defined by each property.

[Example: Consider the following WordprocessingML table:

Some text in R1C1.

This table has a row height for row one of exactly 0.1". If we change that to a row height of at least 0.1" with revision marking enabled, the table would appear as follows:

Some text in R1C1.

The resulting WordprocessingML would be:

    <w:trHeight w:val="144"/>
    <w:trPrChange w:id="2" … >
        <w:trHeight w:hRule="exact" w:val="144"/>

The trPr element as a child of trPrChange specifies the set of table row properties which were in place before the current revision to the document. end example]

Parent Elements

trPrChange (§

Child Elements


cantSplit (Table Row Cannot Break Across Pages)


cnfStyle (Table Row Conditional Formatting)


divId (Associated HTML div ID)


gridAfter (Grid Columns After Last Cell)


gridBefore (Grid Columns Before First Cell)


hidden (Hidden Table Row Marker)


jc (Table Row Alignment)


tblCellSpacing (Table Row Cell Spacing)


tblHeader (Repeat Table Row on Every New Page)


trHeight (Table Row Height)


wAfter (Preferred Width After Table Row)


wBefore (Preferred Width Before Table Row)


[Note: The W3C XML Schema definition of this element’s content model (CT_TrPrBase) is located in §A.1. 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.

Community Additions

© 2014 Microsoft