API Reference
HtmlSemanticBlock
One typed semantic block with optional list, table, resource, form, and rich-run data.
Inheritance
- Object
- HtmlSemanticBlock
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlSemanticBlock.Children
- Property HtmlSemanticDocument.RootTables
- Property HtmlSemanticSection.Blocks
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public HtmlSemanticBlockKind Kind { get; } #Semantic block category.
public String Text { get; } #Normalized plain-text projection.
public Int32 Level { get; } #Heading level or nested list depth; zero when not applicable.
public Boolean Ordered { get; } #Whether this block is an ordered list.
public IReadOnlyList<HtmlSemanticRun> Runs { get; } #Rich editable text runs.
public IReadOnlyList<HtmlSemanticBlock> Children { get; } #Nested list items or retained child blocks.
public HtmlSemanticList List { get; } #Typed list state when Kind is List.
public HtmlSemanticListItem ListItem { get; } #Typed list-item state when Kind is ListItem.
public HtmlSemanticTable Table { get; } #Typed table data when Kind is Table.
public HtmlSemanticResource Resource { get; } #Typed resource when the block references an image or media object.
public IReadOnlyList<HtmlSemanticResource> InlineResources { get; } #Resources embedded inside this block, retained independently from its text runs.
public HtmlSemanticForm Form { get; } #Typed form-container state when this block represents a form element.
public HtmlSemanticFormControl FormControl { get; } #Typed form state when the block represents a form control.
public HtmlComputedStyle Style { get; } #Computed style snapshot from the shared CSS engine.
public HtmlSemanticSourceLocation SourceLocation { get; } #Source provenance.