I am trying to find a way to get the Property to which a control is bound (in c#).
If I have the following:
I think this should do it:
BindingExpression be = BindingOperations.GetBindingExpression((FrameworkElement)yourComboBox, ((DependencyProperty)Button.SelectedItemProperty)); string Name = be.ParentBinding.Path.Path;
To give credit where it's due.