Struct MeasureConstraints
Immutable input to a measurement operation.
public readonly struct MeasureConstraints
- Inherited Members
Constructors
MeasureConstraints(Size, LayoutSizeMode, LayoutSizeMode)
Initializes measurement constraints.
public MeasureConstraints(Size availableSize, LayoutSizeMode xSize = LayoutSizeMode.AtMost, LayoutSizeMode ySize = LayoutSizeMode.AtMost)
Parameters
availableSizeSizexSizeLayoutSizeModeySizeLayoutSizeMode
Properties
AvailableSize
Available margin-box size.
public Size AvailableSize { get; }
Property Value
XSize
Horizontal sizing mode.
public LayoutSizeMode XSize { get; }
Property Value
YSize
Vertical sizing mode.
public LayoutSizeMode YSize { get; }