TablePartBorderStyle Class
Represents a set of border-related table style conditional formatting properties.
public sealed class TablePartBorderStyle : IEnumerable<LineFormat>, IEnumerable
Public NotInheritable Class TablePartBorderStyle
Implements IEnumerable(Of LineFormat), IEnumerable
- Inheritance:
- System.ObjectTablePartBorderStyle
Remarks
Table style conditional formats are applied to different regions of the table and allow you to define all formatting properties (formatting for a table, rows, cells, paragraphs and runs).
Properties
Item[TableCellBorderType]
Gets the LineFormat that corresponds to given border type.
public LineFormat this[TableCellBorderType borderType] { get; }
Public ReadOnly Property Item(borderType As TableCellBorderType) As LineFormat
Parameters
borderType
- TableCellBorderType
The border type of the LineFormat.
Property Value
The LineFormat that corresponds to given border type.
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection of LineFormats.
public IEnumerator<LineFormat> GetEnumerator()
Public Function GetEnumerator As IEnumerator(Of LineFormat)
Returns
- System.Collections.Generic.IEnumerator<LineFormat>
An System.Collections.Generic.IEnumerator<T> for the collection of LineFormats.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable