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 jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IBlockElement

Represents a block element.

Namespace: Telerik.Windows.Documents.Fixed.Model.Editing.Flow
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public interface IBlockElement

Properties

DesiredSize

Gets the desired size.

Declaration
Size DesiredSize { get; }
Property Value
System.Windows.Size

The desired size.

HasPendingContent

Gets if there is any pending content after the last measure.

Declaration
bool HasPendingContent { get; }
Property Value
System.Boolean

Boolean value indicating whether there is any pending content after the last measure.

Methods

Draw(FixedContentEditor, Rect)

Draws the block element with the specified editor.

Declaration
void Draw(FixedContentEditor editor, Rect boundingRect)
Parameters
FixedContentEditor editor

The editor.

System.Windows.Rect boundingRect

The bounding rectangle.

Measure(Size)

Measures the block element with specified available size.

Declaration
[Obsolete("The method is obsolete. Please use Measure(Size availableSize, CancellationToken cancellationToken) instead.")]
Size Measure(Size availableSize)
Parameters
System.Windows.Size availableSize

The available size.

Returns
System.Windows.Size

The result size.

Measure(Size, CancellationToken)

Measures the block element with specified available size.

Declaration
Size Measure(Size availableSize, CancellationToken cancellationToken)
Parameters
System.Windows.Size availableSize

The available size.

System.Threading.CancellationToken cancellationToken

The cancellation token to stop the measuring process if necessary.

Returns
System.Windows.Size

The result size.

Split()

Splits this instance.

Declaration
IBlockElement Split()
Returns
IBlockElement

The remaining block element.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • 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.