Skip to content

ui::ArrangeContext

Header: winui/ui/LayoutContext.hpp.

What Element::arrange() hands arrange_override(): the measurer and theme the element was last measured with, so a container that measures again while arranging (a virtualizing list realizing rows) has them.

measurer

const TextMeasurer& measurer

The one the last measure() used.

theme

const Theme& theme

The theme in effect here, as the last measure() saw it.

measure_context

MeasureContext measure_context() const

The measure context for measuring children again from arrange_override().