This is a migrated thread and some comments may be shown as answers.
Registering for a PropertyChangeNotification
0 Answers 9 Views
This is a migrated thread and some comments may be shown as answers.
JAS J
Top achievements
Rank 1
JAS J asked on 10 Aug 2011, 02:56 AM
Hi all!

I am trying to register for propertyChange notifications and am getting rather confused about what I need to do. Here is my situation

class Customer:ViewModelBase{
{

private bool _valid;

 

public bool Valid
{
get {  return _valid; }

 

set { _valid = value; OnPropertyChanged("Valid");}

 

}

}

// In main program
List<Customer> customers;
// Over here I want to register to receive notifications every time Valid is changed for any customer in customers.

It seems like this should be straight forward... Perhaps just been working too long today..

thanks in advance
Jas



No answers yet. Maybe you can help?

Asked by
JAS J
Top achievements
Rank 1
Share this question
or