ImageLayoutBox
Class
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class ImageLayoutBox : DrawingLayoutBox, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBoxImageLayoutBox...
Implements:
Inherited Members
Constructors
C#
public ImageLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Properties
C#
public ImageInline AssociatedInlineImage { get; set; }
C#
public override float BaselineOffset { get; }
Overrides:
Methods
Measures the space required by the LayoutElement Used by the layout system.
C#
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:
Remarks:
In this method call to the Measure method of each child must be made.