wpf_evaluate_binding
Evaluate a WPF dependency property to determine why it has its current value, tracing binding paths step-by-step to identify null intermediates or misspelled properties.
Instructions
Explain WHY a property has its current value — the go-to tool for 'why is X empty/wrong/disabled?'. Reports the value source (Local, Style, Binding, Inherited, Default, ...), the effective value, and whether it's animated/coerced. When the value comes from a binding, it also resolves the binding path hop-by-hop against the source (DataContext / ElementName / RelativeSource / Source) and reports each segment's value and type, pinpointing exactly where a broken binding fails (e.g. a null intermediate, or a misspelled property that doesn't exist on the DataContext type). Complements wpf_get_bindings (which lists bindings) by actually evaluating one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_name | Yes | ||
| element_handle | Yes |