wpf_revert_property
Revert live property edits on WPF elements. Undo the most recent edit, target a specific property or element, or revert all pending edits, restoring previous values from bindings, locals, or defaults.
Instructions
Undo live property edits made with wpf_set_property. By default reverts the most recent edit; pass element_handle and/or property_name to target a specific one, or all=true to undo every pending edit. Restores whatever held the property before (a binding, a local value, or nothing — falling back to style/inherited/default). Returns how many were reverted and how many edits remain pending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| property_name | No | ||
| element_handle | No |