Поделиться через


StyleTableCellProperties Class

Style Table Cell Properties.When the object is serialized out as xml, its qualified name is w:tcPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.StyleTableCellProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Shading))> _
<ChildElementInfoAttribute(GetType(NoWrap))> _
<ChildElementInfoAttribute(GetType(TableCellMargin))> _
<ChildElementInfoAttribute(GetType(TableCellVerticalAlignment))> _
Public Class StyleTableCellProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As StyleTableCellProperties
[ChildElementInfoAttribute(typeof(Shading))]
[ChildElementInfoAttribute(typeof(NoWrap))]
[ChildElementInfoAttribute(typeof(TableCellMargin))]
[ChildElementInfoAttribute(typeof(TableCellVerticalAlignment))]
public class StyleTableCellProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Shading <w:shd>

  • NoWrap <w:noWrap>

  • TableCellMargin <w:tcMar>

  • TableCellVerticalAlignment <w:vAlign>

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

Reference

StyleTableCellProperties Members

DocumentFormat.OpenXml.Wordprocessing Namespace