共用方式為


StyleTableProperties Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TableStyleRowBandSize))> _
<ChildElementInfoAttribute(GetType(TableStyleColumnBandSize))> _
<ChildElementInfoAttribute(GetType(TableJustification))> _
<ChildElementInfoAttribute(GetType(TableCellSpacing))> _
<ChildElementInfoAttribute(GetType(TableIndentation))> _
<ChildElementInfoAttribute(GetType(TableBorders))> _
<ChildElementInfoAttribute(GetType(Shading))> _
<ChildElementInfoAttribute(GetType(TableCellMarginDefault))> _
Public Class StyleTableProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As StyleTableProperties
[ChildElementInfoAttribute(typeof(TableStyleRowBandSize))]
[ChildElementInfoAttribute(typeof(TableStyleColumnBandSize))]
[ChildElementInfoAttribute(typeof(TableJustification))]
[ChildElementInfoAttribute(typeof(TableCellSpacing))]
[ChildElementInfoAttribute(typeof(TableIndentation))]
[ChildElementInfoAttribute(typeof(TableBorders))]
[ChildElementInfoAttribute(typeof(Shading))]
[ChildElementInfoAttribute(typeof(TableCellMarginDefault))]
public class StyleTableProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • TableStyleRowBandSize <w:tblStyleRowBandSize>

  • TableStyleColumnBandSize <w:tblStyleColBandSize>

  • TableJustification <w:jc>

  • TableCellSpacing <w:tblCellSpacing>

  • TableIndentation <w:tblInd>

  • TableBorders <w:tblBorders>

  • Shading <w:shd>

  • TableCellMarginDefault <w:tblCellMar>

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

StyleTableProperties Members

DocumentFormat.OpenXml.Wordprocessing Namespace