ClassLayoutBox
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class LayoutBox : LayoutElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBox
Derived Classes:
Implements:
Inherited Members
Constructors
LayoutBox(DocumentElement)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement)
Parameters
associatedDocumentElement
LayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters
associatedDocumentElement
collection
LayoutBox(DocumentElement, DocumentStructureCollection, bool)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool isFragment)
Parameters
associatedDocumentElement
collection
isFragment
Fields
AssociatedLayoutBoxProperty
Declaration
public static readonly RadProperty AssociatedLayoutBoxProperty
Field Value
Properties
AssociatedDocumentElement
Declaration
public DocumentElement AssociatedDocumentElement { get; }
Property Value
BoundingRectangle
Declaration
public RectangleF BoundingRectangle { get; }
Property Value
CanCreateLayoutBoxesFromContent
Declaration
protected virtual bool CanCreateLayoutBoxesFromContent { get; }
Property Value
ChildLayoutBoxes
Declaration
public LayoutElementCollection ChildLayoutBoxes { get; }
Property Value
HasVisualRepresentation
Declaration
public virtual bool HasVisualRepresentation { get; }
Property Value
Methods
CreateChildrenCollection(DocumentStructureCollection)
Declaration
protected override ILinkedListCollection<LayoutElement> CreateChildrenCollection(DocumentStructureCollection collection)
Parameters
collection
Returns
Overrides
CreateLayoutElement()
Declaration
public abstract LayoutElement CreateLayoutElement()
Returns
CreateNewFragment(LayoutBox)
Declaration
public virtual void CreateNewFragment(LayoutBox currentLineStartNode)
Parameters
currentLineStartNode
GetPositionHandler()
Declaration
public virtual PositionHandler GetPositionHandler()
Returns
InvalidateArrangeUpToTheRoot()
Declaration
public void InvalidateArrangeUpToTheRoot()
InvalidateLayoutAfterEdit()
Declaration
public void InvalidateLayoutAfterEdit()
InvalidateMeasure()
Declaration
public override void InvalidateMeasure()
Overrides
InvalidateMeasureUpToTheRoot()
Declaration
public void InvalidateMeasureUpToTheRoot()
InvalidateMeasureUpToTheRootStable()
Declaration
public void InvalidateMeasureUpToTheRootStable()
MergeWithNext(LayoutBox)
Declaration
public virtual void MergeWithNext(LayoutBox nextSpanBox)
Parameters
nextSpanBox
OnAssociateDocumentElementChanged()
Declaration
protected virtual void OnAssociateDocumentElementChanged()
OnElementStructureChanged()
Declaration
protected virtual void OnElementStructureChanged()
OnElementStructureChanging()
Declaration
protected virtual void OnElementStructureChanging()
Events
ElementStructureChanged
Declaration
public event EventHandler ElementStructureChanged
Event Value
ElementStructureChanging
Declaration
public event EventHandler ElementStructureChanging
Event Value