UpdateSpanFromChildren(Boolean, Boolean) Method

Definition

Assembly Markdig.dll

Updates this container span from its child inline spans.

public bool UpdateSpanFromChildren(bool recursive = false, bool preserveSelfSpan = true)

Parameters

recursive
Boolean

When true, updates descendant container inline spans recursively before updating this container.

preserveSelfSpan
Boolean

When true, preserves this container current span and only expands it to include children. When false, recomputes from children only.

Returns

Boolean
true when this container span changed; otherwise, false.