New to Telerik UI for WPFStart a free 30-day trial

Represents a table row element.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class TableRow : Block

Inheritance: objectDocumentElementBlockTableRow

Inherited Members DocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged...

Constructors

C#
public TableRow()

Fields

C#
public static readonly StylePropertyDefinition<double?, TableRowProperties> HeightProperty
C#
public static readonly StylePropertyDefinition<bool?, TableRowProperties> RepeatOnEveryPageProperty

Properties

Gets a collection of TableCell objects representing the cells.

C#
public TableCellCollection Cells { get; }
Property Value:

The cells.

Represents information about the revisions made to a specific table row element.

C#
[XamlCompositePropertySerializable]
public DocumentElementRevisionInfo ElementRevisionInfo { get; set; }

Gets the index of the grid row.

C#
public int GridRowIndex { get; }
Property Value:

The index of the grid row.

Gets a value that indicates whether the table row has revisions.

C#
public bool HasRevisions { get; }

Gets or sets the height of the table row.

C#
[XamlSerializable]
public double Height { get; set; }
Property Value:

A double value representing the height of the table row in measurement units (e.g., pixels).

Gets a value indicating whether the table row is marked as deleted.

C#
public bool IsDeleted { get; }

Gets a value indicating whether this table row is the first row in the table.

C#
public bool IsFirst { get; }

Gets a value indicating whether the table row has been inserted.

C#
public bool IsInserted { get; }
Property Value:

true if the row is inserted; otherwise, false.

Gets a value indicating whether the current table row is the last row in the table.

C#
public bool IsLast { get; }
Property Value:

true if the row is the last row; otherwise, false.

Gets or sets a value indicating whether the table row should be repeated on every page.

C#
[XamlSerializable(false)]
public bool RepeatOnEveryPage { get; set; }
Property Value:

A boolean value. If true, the row will be repeated on each page where the table is rendered; otherwise, it will appear only on the first page.

Gets the Table associated to this row.

C#
public Table Table { get; }
Property Value:

The table.

Methods

Copies the properties from another document element to the current instance.

C#
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The DocumentElement to copy the properties from.

Overrides: DocumentElement.CopyPropertiesFromOverride(DocumentElement)

Creates a layout box for the specified collection of document structure elements.

C#
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters:documentCollectionDocumentStructureCollection

The collection of document structure elements used to create the layout box.

Returns:

LayoutBox

A layout box representing the created structure for rendering purposes.

Overrides: DocumentElement.CreateLayoutBox(DocumentStructureCollection)

Creates a new instance of this element.

C#
protected override DocumentElement CreateNewElementInstance()
Returns:

DocumentElement

The new instance.

Overrides: DocumentElement.CreateNewElementInstance()

Called when the parent of the element has been changed.

C#
protected override void OnParentChanged()

Overrides: DocumentElement.OnParentChanged()

Called when the parent of the element is changing.

C#
protected override void OnParentChanging()

Overrides: DocumentElement.OnParentChanging()