Class
TableRow

Represents a table row element.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
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

TableRow()

Declaration

cs-api-definition
public TableRow()

Fields

HeightProperty

Declaration

cs-api-definition
public static readonly StylePropertyDefinition<double?, TableRowProperties> HeightProperty

Field Value

StylePropertyDefinition<double?, TableRowProperties>

RepeatOnEveryPageProperty

Declaration

cs-api-definition
public static readonly StylePropertyDefinition<bool?, TableRowProperties> RepeatOnEveryPageProperty

Field Value

StylePropertyDefinition<bool?, TableRowProperties>

Properties

Cells

Gets a collection of TableCell objects representing the cells.

Declaration

cs-api-definition
public TableCellCollection Cells { get; }

Property Value

TableCellCollection

The cells.

ElementRevisionInfo

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

Declaration

cs-api-definition
[XamlCompositePropertySerializable]
public DocumentElementRevisionInfo ElementRevisionInfo { get; set; }

Property Value

DocumentElementRevisionInfo

GridRowIndex

Gets the index of the grid row.

Declaration

cs-api-definition
public int GridRowIndex { get; }

Property Value

int

The index of the grid row.

HasRevisions

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

Declaration

cs-api-definition
public bool HasRevisions { get; }

Property Value

bool

Height

Gets or sets the height of the table row.

Declaration

cs-api-definition
[XamlSerializable]
public double Height { get; set; }

Property Value

double

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

IsDeleted

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

Declaration

cs-api-definition
public bool IsDeleted { get; }

Property Value

bool

IsFirst

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

Declaration

cs-api-definition
public bool IsFirst { get; }

Property Value

bool

IsInserted

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

Declaration

cs-api-definition
public bool IsInserted { get; }

Property Value

bool

true if the row is inserted; otherwise, false.

IsLast

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

Declaration

cs-api-definition
public bool IsLast { get; }

Property Value

bool

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

RepeatOnEveryPage

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

Declaration

cs-api-definition
[XamlSerializable(false)]
public bool RepeatOnEveryPage { get; set; }

Property Value

bool

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.

Table

Gets the Table associated to this row.

Declaration

cs-api-definition
public Table Table { get; }

Property Value

Table

The table.

Methods

CopyPropertiesFromOverride(DocumentElement)

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

Declaration

cs-api-definition
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The DocumentElement to copy the properties from.

Overrides DocumentElement.CopyPropertiesFromOverride(DocumentElement)

CreateLayoutBox(DocumentStructureCollection)

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

Declaration

cs-api-definition
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)

Parameters

documentCollection

DocumentStructureCollection

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)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()

OnParentChanged()

Called when the parent of the element has been changed.

Declaration

cs-api-definition
protected override void OnParentChanged()

Overrides DocumentElement.OnParentChanged()

OnParentChanging()

Called when the parent of the element is changing.

Declaration

cs-api-definition
protected override void OnParentChanging()

Overrides DocumentElement.OnParentChanging()