IBlockElement
Contract for layoutable block elements that can be measured, drawn, and split during pagination.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Editing.Flow
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public interface IBlockElement
Derived Classes:
Methods
Draws the block element with the specified editor.
void Draw(FixedContentEditor editor, Rect boundingRect)
The editor.
boundingRectRectThe bounding rectangle.
Measures the block element with specified available size.
Size Measure(Size availableSize, CancellationToken cancellationToken)
The available size.
cancellationTokenCancellationTokenThe cancellation token to stop the measuring process if necessary.
Returns:Size
The result size.
Splits this instance.
Properties
DesiredSize
Size
The size requested by the element after measurement.
Size DesiredSize { get; }
The desired size.
Gets a value indicating whether this instance has open marked content.
bool HasOpenMarkedContent { get; }
Boolean value indicating whether this instance has open marked content.
Indicates whether measurement left content that still needs layout in subsequent passes.
bool HasPendingContent { get; }
Boolean value indicating whether there is any pending content after the last measure.