WPF: Custom ListBoxItem with DataTrigger?

Are you implementing INotifyPropertyChanged (as mentioned by Matt Hamilton) in your Item class and raising the PropertyChanged event when you set IsUpdated from false to true and vice-versa public class Item : INotifyPropertyChanged { // ... private bool _isUpdated; public bool IsUpdated { get{ return _isUpdated; } set { _isUpdated= value; RaisePropertyChanged("IsUpdated"); } } // ... /// /// Occurs when a property value changes. /// public event PropertyChangedEventHandler PropertyChanged; private void RaisePropertyChanged(string propertyName) { if(PopertyChanged! = null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } // ... }.

Are you implementing INotifyPropertyChanged (as mentioned by Matt Hamilton) in your Item class and raising the PropertyChanged event when you set IsUpdated from false to true and vice-versa. Public class Item : INotifyPropertyChanged { // ... private bool _isUpdated; public bool IsUpdated { get{ return _isUpdated; } set { _isUpdated= value; RaisePropertyChanged("IsUpdated"); } } // ... /// /// Occurs when a property value changes. /// public event PropertyChangedEventHandler PropertyChanged; private void RaisePropertyChanged(string propertyName) { if(PopertyChanged!

= null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } // ... }.

Yup I am doing that. – Gus Paul Oct 27 '09 at 19:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions