Monthly Archives: August 2010

INotifyPropertyChanged

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

Posted in 13461, 7671, 8708 | Leave a comment

XAML: How to use a ConverterParameter which is not a string in XAML?

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

Posted in 13461, 14489, 8708 | 4 Comments