Class SectionLayoutBox
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class SectionLayoutBox : LayoutBox, IBlockContainerLayoutBox
Constructors
SectionLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public SectionLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters
DocumentElement
associatedDocumentElement
|
DocumentStructureCollection
collection
|
SectionLayoutBox(DocumentElement, DocumentStructureCollection, Boolean)
Declaration
public SectionLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool shouldFragmentize)
Parameters
DocumentElement
associatedDocumentElement
|
DocumentStructureCollection
collection
|
System.Boolean
shouldFragmentize
|
Properties
AssociatedSection
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean
|
Overrides
HasVisualRepresentation
Declaration
public override bool HasVisualRepresentation { get; }
Property Value
System.Boolean
|
Overrides
IsTopContainer
Declaration
public override bool IsTopContainer { get; }
Property Value
System.Boolean
|
Overrides
PageNumber
Declaration
public int PageNumber { get; }
Property Value
System.Int32
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
SizeF
finalSize
|
Returns
SizeF
|
Overrides
CanGrowVerticallyOverride(Single)
Declaration
protected override Nullable<bool> CanGrowVerticallyOverride(float desiredHeight)
Parameters
System.Single
desiredHeight
|
Returns
System.Nullable<System.Boolean>
|
Overrides
CreateLayoutBoxesFromContent(LayoutElementCollection)
Declaration
protected void CreateLayoutBoxesFromContent(LayoutElementCollection fragmentList)
Parameters
LayoutElementCollection
fragmentList
|
CreateLayoutElement()
GetFooter()
GetFooterContentMargins()
GetFooterHeight()
GetHeader()
GetHeaderContentMargins()
Gets the margin of the header content inside the top page margin.
Declaration
public Padding GetHeaderContentMargins()
Returns
Padding
|
GetHeaderFooterType()
GetHeaderHeight()
Gets the height of the header.
Declaration
public float GetHeaderHeight()
Returns
System.Single
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
SizeF
availableSize
|
Returns
SizeF
|
Overrides
SetFooter(Footer)
SetHeader(Header)
Sets the header.
Declaration
public void SetHeader(Header header)
Parameters
Header
header
The header. |