e.g.
TextBox has a Text property, but I cannot bind to it, if I am going to bind, I have to bind to the TextProperty dependency property.
e.g.
textbox.Text = new Binding("mypath"); does not work
and I need
textbox.SetBinding(TextBoxBase.TextProperty, "mypath")
BUT, and this is a huge but, I don't know that it is property "textbox.Text" until runtime. I'm trying to set the binding via relection information, so I know I have a framework element, and I know i have some property. it might be text, it might be itemssource, or something else.
so given an arbitrary property that is backed by a dependency property identifier, how can i find the dependency property identifier for that property?