LayoutConstraintsOptions Class
The constraints a layout gives to a child (https://drafts.css-houdini.org/css-layout-api-1/#dictdef-layoutconstraintsoptions), in the writing mode of the layout API container. A member that is not set is null.
public sealed class LayoutConstraintsOptionsConstructors
| Name | Description |
|---|---|
| LayoutConstraintsOptions() |
LayoutConstraintsOptions()
public LayoutConstraintsOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| AvailableBlockSize | Gets the available block size. |
| AvailableInlineSize | Gets the available inline size. |
| BlockFragmentationOffset | Gets the offset where the child should fragment. |
| BlockFragmentationType | Gets the type of the fragmentation of the child. |
| Data | Gets the data given to the layout of the child when it is a layout API container (a value of the script engine, structured cloned). |
| FixedBlockSize | Gets the border-box block size the child must have. |
| FixedInlineSize | Gets the border-box inline size the child must have. |
| PercentageBlockSize | Gets the size the percentages of the block axis resolve against. |
| PercentageInlineSize | Gets the size the percentages of the inline axis resolve against. |
AvailableBlockSize
LayoutApiObjects.csGets the available block size.
public double? AvailableBlockSize { get; init; }AvailableInlineSize
LayoutApiObjects.csGets the available inline size.
public double? AvailableInlineSize { get; init; }BlockFragmentationOffset
LayoutApiObjects.csGets the offset where the child should fragment.
public double? BlockFragmentationOffset { get; init; }BlockFragmentationType
LayoutApiObjects.csGets the type of the fragmentation of the child.
public BlockFragmentationType BlockFragmentationType { get; init; }Gets the data given to the layout of the child when it is a layout API container (a value of the script engine, structured cloned).
public object? Data { get; init; }FixedBlockSize
LayoutApiObjects.csGets the border-box block size the child must have.
public double? FixedBlockSize { get; init; }FixedInlineSize
LayoutApiObjects.csGets the border-box inline size the child must have.
public double? FixedInlineSize { get; init; }PercentageBlockSize
LayoutApiObjects.csGets the size the percentages of the block axis resolve against.
public double? PercentageBlockSize { get; init; }PercentageInlineSize
LayoutApiObjects.csGets the size the percentages of the inline axis resolve against.
public double? PercentageInlineSize { get; init; }