ITreeAncestorTraversalHint

ITreeAncestorTraversalHint

Interface
Provides a hint to the Reconciler that the target is a part of ITreeAncestorTraversalHint.Owner. Some widgets and modifiers try to resolve their parent using BuildContext.GetDirectParent to access metadata like IPreferExplicitFlex or IPreferStacking. In cases where BuildContext.ParentContext is not available, the Reconciler will attempt to traverse the tree upwards once and check if the element is a IWidgetElement or provides a traversal hint via direct implementation or by setting a ElementTreeAncestorTraversalHint in its userData.

Properties

Extension Methods

DescribeIdentityShortHashToStringNullable

On this page