Is it possible to bind a component to an object property?
If I have an UltraTextEditor, can I bind it to someObject:textProperty so that someObject:textProperty is automatically updated when the component gets filled in?
Not using DataBinding as it is a bi-directional approach and someObject would need to be able to raise events as well (not supported by the ABL).
Most properties of .NET Controls offer a ...Changed event. So TextChanged in your case might work. This event is raised whenever the Text property is changed (user input, or assigned in code or even changed due to the change of a databound ABL field).
As you can have any number of event subscribers for a single event there should not be an issue, if you need the TextChanged event in another location for another purpose as well.
Thank you!
I suspect that in my case, I won't want the property knowing about the input procedure so a direct subscription to a changed event would not be desirable, but I will keep this in mind for some mediating object.
I've been thinking about such a mediating object as well - but in the end, you need to be able to dynamically get/set a property or invoke a method.
.NET reflection works only against .NET types/interfaces. So that would be a desirable feature for a next release (besides events in classes).