Class LayoutBox
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public abstract class LayoutBox : LayoutElement
Constructors
LayoutBox(DocumentElement)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement)
Parameters
DocumentElement
associatedDocumentElement
|
LayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters
DocumentElement
associatedDocumentElement
|
DocumentStructureCollection
collection
|
LayoutBox(DocumentElement, DocumentStructureCollection, Boolean)
Declaration
public LayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool isFragment)
Parameters
DocumentElement
associatedDocumentElement
|
DocumentStructureCollection
collection
|
System.Boolean
isFragment
|
Fields
AssociatedLayoutBoxProperty
Declaration
public static readonly DependencyProperty AssociatedLayoutBoxProperty
Field Value
System.Windows.DependencyProperty
|
currentY
Declaration
protected float currentY
Field Value
System.Single
|
Node
Properties
AssociatedDocumentElement
Declaration
public DocumentElement AssociatedDocumentElement { get; }
Property Value
DocumentElement
|
BoundingRectangle
BoundsChildBoxes
Declaration
public virtual bool BoundsChildBoxes { get; }
Property Value
System.Boolean
|
CanCreateLayoutBoxesFromContent
Declaration
protected virtual bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean
|
ChildIndex
Declaration
public int ChildIndex { get; }
Property Value
System.Int32
|
ChildLayoutBoxes
Declaration
public LayoutElementCollection ChildLayoutBoxes { get; }
Property Value
LayoutElementCollection
|
HasVisualRepresentation
Declaration
public virtual bool HasVisualRepresentation { get; }
Property Value
System.Boolean
|
IsContainerBox
Declaration
public virtual bool IsContainerBox { get; }
Property Value
System.Boolean
|
IsFirstBox
Declaration
public bool IsFirstBox { get; }
Property Value
System.Boolean
|
IsFirstChild
Declaration
public bool IsFirstChild { get; }
Property Value
System.Boolean
|
IsFormattingSymbol
Declaration
public virtual bool IsFormattingSymbol { get; }
Property Value
System.Boolean
|
IsFragment
Declaration
public bool IsFragment { get; }
Property Value
System.Boolean
|
IsLastBox
Declaration
public virtual bool IsLastBox { get; }
Property Value
System.Boolean
|
IsLastChild
Declaration
public bool IsLastChild { get; }
Property Value
System.Boolean
|
IsRemoved
Declaration
public bool IsRemoved { get; }
Property Value
System.Boolean
|
IsValidPosition
Declaration
public virtual bool IsValidPosition { get; }
Property Value
System.Boolean
|
Parent
Methods
CanGrowVertically(Single)
Declaration
protected Nullable<bool> CanGrowVertically(float desiredHeight)
Parameters
System.Single
desiredHeight
|
Returns
System.Nullable<System.Boolean>
|
CanGrowVerticallyOverride(Single)
Declaration
protected virtual Nullable<bool> CanGrowVerticallyOverride(float desiredHeight)
Parameters
System.Single
desiredHeight
|
Returns
System.Nullable<System.Boolean>
|
CreateChildrenCollection(DocumentStructureCollection)
Declaration
protected override ILinkedListCollection<LayoutElement> CreateChildrenCollection(DocumentStructureCollection collection)
Parameters
DocumentStructureCollection
collection
|
Returns
ILinkedListCollection<LayoutElement>
|
Overrides
CreateLayoutElement()
CreateNewFragment(LayoutBox)
Declaration
public virtual void CreateNewFragment(LayoutBox currentLineStartNode)
Parameters
LayoutBox
currentLineStartNode
|
GetAssociatedLayoutBox(UIElement)
Declaration
public static LayoutBox GetAssociatedLayoutBox(UIElement element)
Parameters
System.Windows.UIElement
element
|
Returns
LayoutBox
|
GetBoxDesiredGrow()
Declaration
protected virtual float GetBoxDesiredGrow()
Returns
System.Single
|
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
LayoutBox
nextSpanBox
|
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
System.Windows.UIElement
element
|
LayoutBox
uiElementProvider
|
ToString()
Declaration
public override string ToString()
Returns
System.String
|
ValidateChild(LayoutBox)
Events
ElementStructureChanged
Declaration
public event EventHandler ElementStructureChanged
Event Type
System.EventHandler
|
ElementStructureChanging
Declaration
public event EventHandler ElementStructureChanging
Event Type
System.EventHandler
|