skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class FloatingBlockLayoutBox

Represents a layout box for a floating block in the Telerik document layout.

Inheritance
System.Object
LayoutElement
LayoutBox
InlineLayoutBox
AnnotationMarkerLayoutBox
FloatingBlockLayoutBox
Inherited Members
AnnotationMarkerLayoutBox.AssociatedAnnotationMarker
AnnotationMarkerLayoutBox.Text
InlineLayoutBox.Remove()
InlineLayoutBox.MergeWithNext(LayoutBox)
InlineLayoutBox.GetPositionHandler()
InlineLayoutBox.LineInfo
InlineLayoutBox.LineSegmentInfo
InlineLayoutBox.IsRtl
InlineLayoutBox.IsContainerBox
InlineLayoutBox.AssociatedInline
InlineLayoutBox.IsStartOfLineSegment
LayoutBox.currentY
LayoutBox.AssociatedLayoutBoxProperty
LayoutBox.Node
LayoutBox.GetAssociatedLayoutBox(UIElement)
LayoutBox.SetAssociatedLayoutBox(UIElement, LayoutBox)
LayoutBox.OnElementStructureChanged()
LayoutBox.OnAssociateDocumentElementChanged()
LayoutBox.CreateChildrenCollection(DocumentStructureCollection)
LayoutBox.InvalidateMeasureUpToTheRoot()
LayoutBox.InvalidateMeasureUpToTheRootStable()
LayoutBox.InvalidateArrangeUpToTheRoot()
LayoutBox.InvalidateLayoutAfterEdit()
LayoutBox.ValidateChild(LayoutBox)
LayoutBox.GetRootDocument()
LayoutBox.CanGrowVerticallyOverride(Single)
LayoutBox.CanGrowVertically(Single)
LayoutBox.GetBoxDesiredGrow()
LayoutBox.CreateNewFragment(LayoutBox)
LayoutBox.InvalidateMeasure()
LayoutBox.IsRemoved
LayoutBox.IsFragment
LayoutBox.AssociatedDocumentElement
LayoutBox.ChildLayoutBoxes
LayoutBox.IsFormattingSymbol
LayoutBox.BoundsChildBoxes
LayoutBox.IsFirstBox
LayoutBox.IsLastBox
LayoutBox.IsFirstChild
LayoutBox.IsLastChild
LayoutBox.IsValidPosition
LayoutBox.Parent
LayoutBox.ChildIndex
LayoutBox.BoundingRectangle
LayoutBox.ElementStructureChanging
LayoutBox.ElementStructureChanged
LayoutElement.EnsureChildrenCreated()
LayoutElement.CreateChildren()
LayoutElement.OnBitStateChanged(DocumentElementStates, Boolean, Boolean)
LayoutElement.SetBitState(DocumentElementStates, Boolean)
LayoutElement.ValidateParent(LayoutElement)
LayoutElement.SetParent(LayoutElement, LayoutElement)
LayoutElement.SetParentCore(LayoutElement)
LayoutElement.IsInValidState(Boolean)
LayoutElement.OnInvalidateMeasure()
LayoutElement.InvalidateMeasure(Boolean)
LayoutElement.InvalidateArrange()
LayoutElement.OnInvalidateArrange()
LayoutElement.InvalidateArrange(Boolean)
LayoutElement.Arrange(RectangleF)
LayoutElement.ArrangeCore(RectangleF)
LayoutElement.Measure(SizeF)
LayoutElement.MeasureCore(SizeF)
LayoutElement.OnChildDesiredSizeChanged(LayoutElement)
LayoutElement.OnParentChanging()
LayoutElement.LayoutOffset
LayoutElement.IsTopContainer
LayoutElement.LocalBoundingRectangle
LayoutElement.ControlBoundingRectangle
LayoutElement.ClippedControlBoundingRectangle
LayoutElement.TotalTransform
LayoutElement.Children
LayoutElement.BitState
LayoutElement.DesiredSize
LayoutElement.IsMeasureInProgress
LayoutElement.BypassLayoutPolicies
LayoutElement.MeasureWithoutParentNotification
LayoutElement.Size
LayoutElement.IsArrangeValid
LayoutElement.IsMeasureValid
LayoutElement.TreeLevel
LayoutElement.PreviousArrangeRect
LayoutElement.Alignment
LayoutElement.AutoSize
LayoutElement.Transform
LayoutElement.ParentChanging
LayoutElement.ParentChanged
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class FloatingBlockLayoutBox : AnnotationMarkerLayoutBox

Constructors

FloatingBlockLayoutBox(DocumentElement, DocumentStructureCollection)

Declaration
public FloatingBlockLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
DocumentElement parentElement

DocumentStructureCollection collection

Properties

AssociatedFloatingBlock

Gets the associated floating block for the current layout box.

Declaration
public FloatingBlock AssociatedFloatingBlock { get; set; }
Property Value
FloatingBlock

BaselineOffset

Gets the baseline offset of the floating block layout box.

Declaration
public override float BaselineOffset { get; }
Property Value
System.Single

Overrides
AnnotationMarkerLayoutBox.BaselineOffset

CanCreateLayoutBoxesFromContent

Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean

Overrides
LayoutBox.CanCreateLayoutBoxesFromContent

HasVisualRepresentation

Gets a value indicating whether the floating block layout box has a visual representation.

Declaration
public override bool HasVisualRepresentation { get; }
Property Value
System.Boolean

Overrides
AnnotationMarkerLayoutBox.HasVisualRepresentation

HasWidthAtTheEndOfLine

Gets a value indicating whether the floating block layout box has a specified width at the end of the line.

Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
System.Boolean

Overrides
AnnotationMarkerLayoutBox.HasWidthAtTheEndOfLine

IsReadonly

Gets a value indicating whether the FloatingBlockLayoutBox is in a read-only state.

Declaration
public override bool IsReadonly { get; }
Property Value
System.Boolean

Overrides
AnnotationMarkerLayoutBox.IsReadonly

IsSplittable

Gets a value indicating whether the floating block layout box can be split.

Declaration
public override bool IsSplittable { get; }
Property Value
System.Boolean

Overrides
AnnotationMarkerLayoutBox.IsSplittable

PositionsCountInBox

Gets the count of positions within the floating block layout box.

Declaration
public override int PositionsCountInBox { get; }
Property Value
System.Int32

Overrides
AnnotationMarkerLayoutBox.PositionsCountInBox

Methods

ArrangeOverride(SizeF)

Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
SizeF finalSize

Returns
SizeF

Overrides
LayoutElement.ArrangeOverride(SizeF)

CreateLayoutElement()

Creates a new layout element for the FloatingBlockLayoutBox.

Declaration
public override LayoutElement CreateLayoutElement()
Returns
LayoutElement

A layout element that represents the floating block.

Overrides
AnnotationMarkerLayoutBox.CreateLayoutElement()

CreateNewFragment(Single, Boolean)

Creates a new fragment for the floating block layout box.

Declaration
public override LayoutBox CreateNewFragment(float availableWidth, bool isFirstBoxInLine)
Parameters
System.Single availableWidth

The width of the new fragment.

System.Boolean isFirstBoxInLine

A boolean value indicating whether the new fragment should be visible.

Returns
LayoutBox

A new instance of a fragment with the specified width and visibility.

Overrides
InlineLayoutBox.CreateNewFragment(Single, Boolean)

MeasureOverride(SizeF)

Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
SizeF availableSize

Returns
SizeF

Overrides
AnnotationMarkerLayoutBox.MeasureOverride(SizeF)

OnElementStructureChanging()

Declaration
protected override void OnElementStructureChanging()
Overrides
LayoutBox.OnElementStructureChanging()

OnParentChanged()

Declaration
protected override void OnParentChanged()
Overrides
LayoutElement.OnParentChanged()

ToString()

Returns a string representation of the current instance of the FloatingBlockLayoutBox.

Declaration
public override string ToString()
Returns
System.String

A string that represents the current FloatingBlockLayoutBox instance.

Overrides
LayoutBox.ToString()

Extension Methods

ExtensionMethods.GetCurrentSectionBox(LayoutBox)
CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.