Class DocumentLayoutBox
Represents the layout box for a document in the Telerik layout system. This class is responsible for managing the visual arrangement of document elements within a defined layout region.
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class DocumentLayoutBox : LayoutBox
Constructors
DocumentLayoutBox(RadDocument)
Declaration
public DocumentLayoutBox(RadDocument ownerDocument)
Parameters
RadDocument
ownerDocument
|
Properties
AssociatedDocument
Gets the associated document for the current layout box.
Declaration
public RadDocument AssociatedDocument { get; }
Property Value
RadDocument
The associated document if one exists; otherwise, null. |
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean
|
Overrides
HasVisualRepresentation
Gets a value indicating whether the document layout box has a visual representation.
Declaration
public override bool HasVisualRepresentation { get; }
Property Value
System.Boolean
|
Overrides
OwnerDocument
Gets the document that owns the current layout box.
Declaration
public RadDocument OwnerDocument { get; }
Property Value
RadDocument
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
SizeF
finalSize
|
Returns
SizeF
|
Overrides
CreateLayoutBoxesFromContent(LayoutElementCollection)
Declaration
protected void CreateLayoutBoxesFromContent(LayoutElementCollection fragmentList)
Parameters
LayoutElementCollection
fragmentList
|
CreateLayoutElement()
Creates a layout element for the document layout box.
Declaration
public override LayoutElement CreateLayoutElement()
Returns
LayoutElement
A LayoutElement instance representing the created layout element. |
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
SizeF
availableSize
|
Returns
SizeF
|
Overrides
UpdateLayout()
Updates the layout for the document layout box, recalculating its size and position.
Declaration
public void UpdateLayout()