views:

21

answers:

0

I hope i can explain this in few words, i m designing a generic framework and one of the things that came to my mind is there any way to know reverse binding information from a model property. For eg.given below Stock class

public class Stock { public string Symbol { get;set; } }

Now lets assume that symbol of above model is binded to text box control and also button control.

Now from binding infrastructure is it possible to know the list of controls that are bounded to a specific property. So i m looking for such below method

GetBindingControls("Symbol")

The above method will give me both text box and button that are binded to Symbol property.

Tks in advance for your help.