csharp
public readonly record struct MeasureRequestWhat a measure function is being asked.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public LayoutTree TreeThe tree the node belongs to, so the callback can read its style.
public LayoutNodeId NodeWhich node.
public object? ContextWhatever was attached to it with SetContext.
public float AvailableWidthThe width on offer, or NaN.
public MeasureMode WidthModeWhat the width means.
public float AvailableHeightThe height on offer, or NaN.
public MeasureMode HeightModeWhat the height means.
Methods (1)
public MeasureRequest(LayoutTree Tree, LayoutNodeId Node, object? Context, float AvailableWidth, MeasureMode WidthMode, float AvailableHeight, MeasureMode HeightMode)What a measure function is being asked.
Used by (7)
- AutomaticMinimumSizeTestsVixen.Ui.Layout.Tests
- ConformanceMeasureVixen.Ui.Layout.Tests
- LayoutPassTestsVixen.Ui.Layout.Tests
- LayoutTreeVixen.Ui.Layout
- LayoutTreeTestsVixen.Ui.Layout.Tests
- TextLayoutVixen.Ui
- TextWrapTestsVixen.Ui.Tests