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 FragmentResultOptionsConstructors
| Name | Description |
|---|---|
| FragmentResultOptions() |
FragmentResultOptions()
LayoutApiObjects.cspublic FragmentResultOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| AutoBlockSize | Gets the border-box block size of the fragment when the block size of the box is auto (with the block-like sizing). |
| BlockSize | Gets the border-box block size of the fragment (with the manual sizing). |
| BreakToken | Gets the break token of the fragment, or null. |
| ChildFragments | Gets the fragments of the children, in their painting order. |
| Data | Gets the data given to the layout of the parent layout API container (a value of the script engine, structured cloned). |
| InlineSize | Gets the border-box inline size of the fragment (with the manual sizing). |
AutoBlockSize
LayoutApiObjects.csGets 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; }BlockSize
LayoutApiObjects.csGets the border-box block size of the fragment (with the manual sizing).
public double BlockSize { get; init; }BreakToken
LayoutApiObjects.csGets the break token of the fragment, or null.
public BreakTokenOptions? BreakToken { get; init; }ChildFragments
LayoutApiObjects.csGets 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; }Property value
See also
InlineSize
LayoutApiObjects.csGets the border-box inline size of the fragment (with the manual sizing).
public double InlineSize { get; init; }