debugCheckingIntrinsics property

bool debugCheckingIntrinsics
read / write

When true, debugAssertDoesMeetConstraints() is currently executing asserts for verifying the consistent behavior of intrinsic dimensions methods.

This should only be set by debugAssertDoesMeetConstraints() implementations. It is used by tests to selectively ignore custom layout callbacks. It should not be set outside of debugAssertDoesMeetConstraints(), and should not be checked in release mode (where it will always be false).

Implementation

static bool debugCheckingIntrinsics = false