Class LayoutBox
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.Documents.Layout
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public abstract class LayoutBox : LayoutElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Constructors
LayoutBox(DocumentElement)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement)
Parameters
Document
|
LayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters
Document
|
Document
|
LayoutBox(DocumentElement, DocumentStructureCollection, Boolean)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool isFragment)
Parameters
Document
|
Document
|
System.
|
Fields
AssociatedLayoutBoxProperty
currentY
Declaration
protected float currentY
Field Value
System.
|
Node
Properties
AssociatedDocumentElement
Declaration
public DocumentElement AssociatedDocumentElement { get; }
Property Value
BoundingRectangle
BoundsChildBoxes
Declaration
public virtual bool BoundsChildBoxes { get; }
Property Value
System.
|
CanCreateLayoutBoxesFromContent
Declaration
protected virtual bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.
|
ChildIndex
Declaration
public int ChildIndex { get; }
Property Value
System.
|
ChildLayoutBoxes
Declaration
public LayoutElementCollection ChildLayoutBoxes { get; }
Property Value
HasVisualRepresentation
Declaration
public virtual bool HasVisualRepresentation { get; }
Property Value
System.
|
IsContainerBox
Declaration
public virtual bool IsContainerBox { get; }
Property Value
System.
|
IsFirstBox
Declaration
public bool IsFirstBox { get; }
Property Value
System.
|
IsFirstChild
Declaration
public bool IsFirstChild { get; }
Property Value
System.
|
IsFormattingSymbol
Declaration
public virtual bool IsFormattingSymbol { get; }
Property Value
System.
|
IsFragment
Declaration
public bool IsFragment { get; }
Property Value
System.
|
IsLastBox
Declaration
public virtual bool IsLastBox { get; }
Property Value
System.
|
IsLastChild
Declaration
public bool IsLastChild { get; }
Property Value
System.
|
IsRemoved
Declaration
public bool IsRemoved { get; }
Property Value
System.
|
IsValidPosition
Declaration
public virtual bool IsValidPosition { get; }
Property Value
System.
|
Parent
Methods
CanGrowVertically(Single)
Declaration
protected bool? CanGrowVertically(float desiredHeight)
Parameters
System.
|
Returns
System.
|
CanGrowVerticallyOverride(Single)
Declaration
protected virtual bool? CanGrowVerticallyOverride(float desiredHeight)
Parameters
System.
|
Returns
System.
|
CreateChildrenCollection(DocumentStructureCollection)
Declaration
protected override ILinkedListCollection<LayoutElement> CreateChildrenCollection(DocumentStructureCollection collection)
Parameters
Document
|
Returns
Overrides
CreateLayoutElement()
CreateNewFragment(LayoutBox)
Declaration
public virtual void CreateNewFragment(LayoutBox currentLineStartNode)
Parameters
Layout
|
GetAssociatedLayoutBox(UIElement)
Declaration
public static LayoutBox GetAssociatedLayoutBox(UIElement element)
Parameters
UIElement
element
|
Returns
GetBoxDesiredGrow()
Declaration
protected virtual float GetBoxDesiredGrow()
Returns
System.
|
GetPositionHandler()
GetRootDocument()
InvalidateArrangeUpToTheRoot()
Declaration
public void InvalidateArrangeUpToTheRoot()
InvalidateLayoutAfterEdit()
Declaration
public void InvalidateLayoutAfterEdit()
InvalidateMeasure()
InvalidateMeasureUpToTheRoot()
Declaration
public void InvalidateMeasureUpToTheRoot()
InvalidateMeasureUpToTheRootStable()
Declaration
public void InvalidateMeasureUpToTheRootStable()
MergeWithNext(LayoutBox)
Declaration
public virtual void MergeWithNext(LayoutBox nextSpanBox)
Parameters
Layout
|
OnAssociateDocumentElementChanged()
Declaration
protected virtual void OnAssociateDocumentElementChanged()
OnElementStructureChanged()
Declaration
protected virtual void OnElementStructureChanged()
OnElementStructureChanging()
Declaration
protected virtual void OnElementStructureChanging()
SetAssociatedLayoutBox(UIElement, LayoutBox)
Declaration
public static void SetAssociatedLayoutBox(UIElement element, LayoutBox uiElementProvider)
Parameters
ToString()
Declaration
public override string ToString()
Returns
System.
|
Overrides
System.Object.ToString()
ValidateChild(LayoutBox)
Events
ElementStructureChanged
Declaration
public event EventHandler ElementStructureChanged
Event Type
System.
|
ElementStructureChanging
Declaration
public event EventHandler ElementStructureChanging
Event Type
System.
|