Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Is it possible to trigger a method when a data member has changed in BindingSource?

$
0
0

Hi, all:

I have a datagridview that some properties binding with a BindingSource members, like:

this.dataGridView1.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", this.myBindingSource, "IsEnabled", true));

Now, I want to call a extension method in datagridview when "IsEnabled" has value changed, is it possible to that?



Thanks for your kind reply in advance.



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>