ClassTableRowLayoutBox
Represents a layout box for a table row in the Telerik Windows Documents layout system.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableRowLayoutBox : FlowOrderedLayoutBox
Inheritance: objectLayoutElementLayoutBoxFlowOrderedLayoutBoxTableRowLayoutBox
Inherited Members
Constructors
TableRowLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public TableRowLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters
associatedDocumentElement
collection
TableRowLayoutBox(DocumentElement, DocumentStructureCollection, bool)
Declaration
public TableRowLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool isFragment)
Parameters
associatedDocumentElement
collection
isFragment
Properties
AssociatedTableRow
Gets the associated table row for this table row layout box.
BoundsChildBoxes
Gets the bounding child boxes of the table row layout.
Declaration
public override bool BoundsChildBoxes { get; }
Property Value
Overrides
Methods
ArrangeOverride(SizeF)
Arranges the LayoutElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
finalSize
The size that is available for element.
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CreateLayoutElement()
Creates and returns a layout element for the table row.
Declaration
public override LayoutElement CreateLayoutElement()
Returns
A LayoutElement that represents the layout for the table row.
Overrides
GetPositionHandler()
Retrieves the position of the TableRowLayoutBox.
Declaration
public override PositionHandler GetPositionHandler()
Returns
The position of the current TableRowLayoutBox as a Point object.
Overrides
MeasureOverride(SizeF)
Measures the space required by the LayoutElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the LayoutElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.