TableCellLayoutBox
Represents the layout box for a cell in a table, providing properties and methods
to manage the visual representation and positioning of the cell's content.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TableCellLayoutBox : FlowOrderedLayoutBox
Inheritance: objectLayoutElementLayoutBoxFlowOrderedLayoutBoxTableCellLayoutBox
Inherited Members
Constructors
public TableCellLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool isFragment)
public TableCellLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Properties
Gets the table cell that is associated with this layout box.
public TableCell AssociatedTableCell { get; }
Gets a value indicating whether the table cell has a visual representation.
public override bool HasVisualRepresentation { get; }
Overrides:
Gets a value indicating whether the current cell is a top-level container in a table layout.
public override bool IsTopContainer { get; }
Overrides:
Methods
Arranges the LayoutElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF 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:
In this method call to the Arrange method of each child must be made.
Creates a layout element for the table cell.
public override LayoutElement CreateLayoutElement()
A new instance of the layout element associated with the table cell.
Overrides:
Measures the space required by the LayoutElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF 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:
In this method call to the Measure method of each child must be made.