ShapeLayoutBox
Represents a layout box for shapes in Telerik's RadRichTextBox.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ShapeLayoutBox : DrawingLayoutBox
Inheritance: objectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBoxShapeLayoutBox...
Inherited Members
Constructors
public ShapeLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Properties
Gets the associated shape inline element for the layout box.
public ShapeInline AssociatedShapeInline { get; set; }
Gets or sets the baseline offset of the shape layout box.
public override float BaselineOffset { get; }
A double value representing the distance from the baseline to the top of the shape layout box.
Overrides:
Methods
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.