SectionLayoutBox
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class SectionLayoutBox : LayoutBox, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxSectionLayoutBox...
Implements:
Inherited Members
Constructors
public SectionLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool shouldFragmentize)
public SectionLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Properties
public Section AssociatedSection { get; }
protected override bool CanCreateLayoutBoxesFromContent { get; }
Overrides:
public override bool HasVisualRepresentation { get; }
Overrides:
public override bool IsTopContainer { get; }
Overrides:
public int PageNumber { get; }
Methods
Arranges the LayoutElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF finalSize)
The size that is available for element.
Returns:The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides:
In this method call to the Arrange method of each child must be made.
protected void CreateLayoutBoxesFromContent(LayoutElementCollection fragmentList)
Gets the footer for this page.
Gets the margin of the footer inside the bottom page margin.
Gets the height of the footer.
Gets the header for this page.
Gets the margin of the header content inside the top page margin.
Gets the type of the header and footer for this page.
Gets the height of the header.
Measures the space required by the LayoutElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the LayoutElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Sets the footer.
Sets the header.