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. The desired size. |
HasPendingContent
Gets if there is any pending content after the last measure.
Declaration
bool HasPendingContent { get; }
Property Value
System. 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
Fixed The editor. |
System. 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. The available size. |
Returns
System. The result size. |
Measure(Size, CancellationToken)
Measures the block element with specified available size.
Declaration
Size Measure(Size availableSize, CancellationToken cancellationToken)
Parameters
System. The available size. |
System. The cancellation token to stop the measuring process if necessary. |
Returns
System. The result size. |
Split()
Splits this instance.
Declaration
IBlockElement Split()
Returns
IBlock The remaining block element. |