SilverLight [SL] 바인딩을 하기위한 클래스 만들기 백운성 2011. 4. 8. 11:00 public class CUsers : ObservableCollection<CUser> { } public class CUser : INotifyPropertyChanged { private int _Age; private string _Name; public int Age { get { return _Age; } set { _Age = value; NotifyPropertyChanged("Age"); } } public string Name { get { return _Name; } set { _Name = value; NotifyPropertyChanged("Name"); } } public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged(String info) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(info)); } } }