-
Notifications
You must be signed in to change notification settings - Fork 1.9k
GetBinding() #24992
Copy link
Copy link
Open
Labels
Milestone
Description
Description
I would love to be able to get the current binding for a property. This doesn't seem like it should have anything to do with specific platforms. It looks like the data structures are there. I could access them with reflection, now, but it would be vastly preferable to have it be doable through the public interface.
Public API Changes
var entry = new Entry();
var binding = entry.GetBinding(somePropertyInfo);
// do stuff
entry.SetBinding(somePropertyInfo, binding);Intended Use-Case
The main use case I imagine is for temporarily suspending binding. For instance, when an entry field is focused, I might want to turn off binding until they leave the field and then resume it with whatever they've typed in.
Reactions are currently unavailable