I need to define new UI Elements as well as data binding in code because they will be implemented after run-time. Here is a simplified version of what I am trying to do.
Do you need to set the binding mode programatically? It may be defaulting to OneTime.