ClassShapeLayoutBox
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ShapeLayoutBox : DrawingLayoutBox, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBoxShapeLayoutBox
Implements:
Inherited Members
Constructors
ShapeLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public ShapeLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
parentElement
collection
Properties
AssociatedShapeInline
Declaration
public ShapeInline AssociatedShapeInline { get; set; }
Property Value
BaselineOffset
Declaration
public override float BaselineOffset { get; }
Property Value
Overrides
Methods
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.