TableRow
Represents a table row element.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TableRow : Block, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementBlockTableRow...
Implements:
Inherited Members
Constructors
Creates a table row with an empty cell collection.
public TableRow()
Fields
Defines the style property for Height; the default minimum height is zero and changes affect layout.
public static readonly StylePropertyDefinition<double?, TableRowProperties> HeightProperty
Defines the style property used to mark table header rows for repetition; its default is false and changes affect layout.
public static readonly StylePropertyDefinition<bool?, TableRowProperties> RepeatOnEveryPageProperty
Properties
Gets a collection of TableCell objects representing the cells.
public TableCellCollection Cells { get; }
The cells.
Gets or sets the row's insertion or deletion revision metadata. Changing this value invalidates the root document's revisions cache when the row is attached to a document.
[XamlCompositePropertySerializable]
public DocumentElementRevisionInfo ElementRevisionInfo { get; set; }
Gets the index of the grid row.
public int GridRowIndex { get; }
The index of the grid row.
Gets whether revision metadata marks the row as inserted or deleted.
public bool HasRevisions { get; }
Gets or sets the row's minimum height. Cell content or row-spanning cells can make the laid-out row taller.
[XamlSerializable]
public double Height { get; set; }
Gets whether the row is marked as deleted by revision metadata.
public bool IsDeleted { get; }
Gets whether this row is the first row in its parent table. Returns false when the row is not attached to a table.
public bool IsFirst { get; }
Gets whether the row is marked as inserted by revision metadata.
public bool IsInserted { get; }
Gets whether this row is the last row in its parent table. Returns false when the row is not attached to a table.
public bool IsLast { get; }
Gets or sets whether the row is part of the contiguous sequence of marked rows at the start of the table that is repeated on pages where the table continues.
[XamlSerializable(false)]
public bool RepeatOnEveryPage { get; set; }
Methods
Copies the source row's formatting properties and deep-copies its revision metadata when present.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The row whose properties are copied.
Overrides:
Creates the layout box used to measure and arrange this row.
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
The document structure that owns the layout box.
Returns:A layout box associated with this row.
Overrides:
Creates an empty row instance for document-element copying.
protected override DocumentElement CreateNewElementInstance()
Overrides:
Notifies each child cell that the row's parent has changed.
protected override void OnParentChanged()
Overrides:
Notifies each child cell that the row is about to change parents.
protected override void OnParentChanging()
Overrides: