• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Row

Represents a Row.

Inheritance
object
Node
CompositeNode
Row
Implements
IEnumerable<Node>
IEnumerable
Inherited Members
CompositeNode.ChildNodes
CompositeNode.GetAllChildNodes()
CompositeNode.Count
CompositeNode.FirstChild
CompositeNode.HasChildNodes
CompositeNode.IsComposite
CompositeNode.LastChild
CompositeNode.GetEnumerator()
Node.Document
Node.NextSibling
Node.ParentNode
Node.PreviousSibling
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Tables
Assembly: DRIT.Document.dll
Syntax
public class Row : CompositeNode, IEnumerable<Node>, IEnumerable

Constructors

Row()

Initializes a new instance of the Row class.

Declaration
public Row()

Properties

Cells

Gets or sets cells.

Declaration
public CellCollection Cells { get; }
Property Value
Type Description
CellCollection

NodeType

Gets node type.

Declaration
public override NodeType NodeType { get; }
Property Value
Type Description
NodeType
Overrides
Node.NodeType

ParentTable

Gets or sets parent table.

Declaration
public Table ParentTable { get; }
Property Value
Type Description
Table

Revision

The tracked-change revision for this table row, or null. When RevisionType.Delete, the row is marked as deleted (removed on accept). When RevisionType.Insert, the row is marked as inserted (removed on reject).

Declaration
public Revision Revision { get; set; }
Property Value
Type Description
Revision

RowFormat

Gets or sets row format.

Declaration
public RowFormat RowFormat { get; }
Property Value
Type Description
RowFormat

RowFormatRevision

Gets or sets the tracked revision for this row's formatting.

Declaration
public TableRowFormatRevision RowFormatRevision { get; set; }
Property Value
Type Description
TableRowFormatRevision

Methods

AddCell()

Provides the add Cell behavior for this object.

Declaration
public Cell AddCell()
Returns
Type Description
Cell

The resulting value.

Clone(bool)

Creates a copy of this row, including its formatting and, optionally, its content.

Declaration
public Row Clone(bool cloneContent)
Parameters
Type Name Description
bool cloneContent

Whether paragraphs, runs, and run formatting are copied.

Returns
Type Description
Row

A detached copy of this row.

InsertCell(int)

Inserts a cell at the specified zero-based index.

Declaration
public Cell InsertCell(int index)
Parameters
Type Name Description
int index

The zero-based insertion index.

Returns
Type Description
Cell

The inserted cell.

RemoveCellAt(int)

Removes the cell at the specified zero-based index.

Declaration
public void RemoveCellAt(int index)
Parameters
Type Name Description
int index

The zero-based index to remove.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX