NorthwestCell class

Office 2013 and later

Northwest Cell. When the object is serialized out as xml, its qualified name is a:nwCell.

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

nwCell (Northwest Cell)

This element defies the formatting for the cell in the northwest corner of a table when both the first row formatting and first column formatting are enabled. This formatting is only applied to the single cell which overlaps between the two formatting options.

[Example: Consider the following example of the northwest cell formatting within DrawingML:

<nwCell>
  <tcTxStyle b="on">
    <fontRef idx="minor">
      <scrgbClr r="0" g="0" b="0"/>
    </fontRef>
    <schemeClr val="lt1"/>
  </tcTxStyle>
  <tcStyle>
    <tcBdr/>
    <fill>
      <solidFill>
        <schemeClr val="accent1"/>
      </solidFill>
    </fill>
  </tcStyle>
</nwCell>

In this example, we specifically set the northwest cell to contain bold text with a solid cell fill in the color of accent 1. end example]

Parent Elements

tableStyle (§21.1.3.11); tblStyle (§20.1.4.2.26)

Child Elements

Subclause

tcStyle (Table Cell Style)

§20.1.4.2.29

tcTxStyle (Table Cell Text Style)

§20.1.4.2.30

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