Class TableStyle
Represents the style properties of a table.
Inheritance
System.Object
TableStyle
Implements
IronSoftware.Abstractions.Word.ITableStyle
IronSoftware.Abstractions.Word.IDerivedStyle
IronSoftware.Abstractions.Word.IStyle
IronSoftware.Abstractions.Word.IWordDocumentObjectProperty
IronSoftware.Abstractions.IDocumentObjectProperty
Namespace: IronWord.Models
Assembly: IronWord.dll
Syntax
public class TableStyle : Object, ITableStyle, ITableStyle, IDerivedStyle, IDerivedStyle, IStyle, IWordDocumentObjectProperty, IDocumentObjectProperty
Remarks
Corresponds to the TableProperties (w:tblPr) of OpenXML.
Constructors
TableStyle()
Initializes a new instance of TableStyle.
Declaration
public TableStyle()
Properties
BaseStyle
The original base style definition a style is based off of.
Declaration
public IBaseStyle BaseStyle { get; }
Property Value
| Type | Description |
|---|---|
| IBaseStyle |
Borders
The borders for the table.
Declaration
public TableBorders Borders { get; set; }
Property Value
| Type | Description |
|---|---|
| TableBorders |
BottomCellMargin
Declaration
public Nullable<uint> BottomCellMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
InheritedStyle
Table style this style inherits from.
Declaration
public ITableStyle InheritedStyle { get; }
Property Value
| Type | Description |
|---|---|
| ITableStyle |
Justification
Declaration
public Nullable<JustificationValues> Justification { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<IronSoftware.Abstractions.Word.JustificationValues> |
LeftCellMargin
Declaration
public Nullable<uint> LeftCellMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
RightCellMargin
Declaration
public Nullable<uint> RightCellMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
TopCellMargin
Declaration
public Nullable<uint> TopCellMargin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
Width
Declaration
public Nullable<long> Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Implements
IronSoftware.Abstractions.Word.ITableStyle
IronSoftware.Abstractions.Word.IDerivedStyle
IronSoftware.Abstractions.Word.IStyle
IronSoftware.Abstractions.Word.IWordDocumentObjectProperty
IronSoftware.Abstractions.IDocumentObjectProperty