FragmentResultOptions Class

The value returned by the layout() callback of a layout class (https://drafts.css-houdini.org/css-layout-api-1/#dictdef-fragmentresultoptions): the size of the fragment of the layout API container and the fragments of its children.

public sealed class FragmentResultOptions

Constructors

NameDescription
FragmentResultOptions()

FragmentResultOptions()

LayoutApiObjects.cs
public FragmentResultOptions()

No documentation is available.

Properties

NameDescription
AutoBlockSizeGets the border-box block size of the fragment when the block size of the box is auto (with the block-like sizing).
BlockSizeGets the border-box block size of the fragment (with the manual sizing).
BreakTokenGets the break token of the fragment, or null.
ChildFragmentsGets the fragments of the children, in their painting order.
DataGets the data given to the layout of the parent layout API container (a value of the script engine, structured cloned).
InlineSizeGets the border-box inline size of the fragment (with the manual sizing).

AutoBlockSize

LayoutApiObjects.cs

Gets the border-box block size of the fragment when the block size of the box is auto (with the block-like sizing).

public double AutoBlockSize { get; init; }

Gets the border-box block size of the fragment (with the manual sizing).

public double BlockSize { get; init; }

Gets the break token of the fragment, or null.

public BreakTokenOptions? BreakToken { get; init; }

ChildFragments

LayoutApiObjects.cs

Gets the fragments of the children, in their painting order.

public IReadOnlyList<LayoutFragment> ChildFragments { get; init; }

Gets the data given to the layout of the parent layout API container (a value of the script engine, structured cloned).

public object? Data { get; init; }

Gets the border-box inline size of the fragment (with the manual sizing).

public double InlineSize { get; init; }