Monthly Archives: August 2010

When we want to use binding with WPF or SL, we use INotifyPropertyChanged interface most of time. This interface has only one member: event PropertyChangedEventHandler PropertyChanged; We generally use it like this: protected virtual void RaisePropertyChanged(string property){ if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(property));} … Continue reading →

Imagine the following case: I have a TextBox and a TextBlock and a boolean property IsEditing. If IsEditing is true, the TextBox is visible and the TextBlock is hidden and reversely. In this case I could use a ViewModel with … Continue reading →