protected virtual void OnCommandPropertyChanged(object sender, PropertyChangedEventArgs e) { switch (e.PropertyName) { case "TextLine1": OnPropertyChanged("TextLine1"); break; case "TextLine2": OnPropertyChanged("TextLine2"); break; case "Enabled": OnPropertyChanged("Enabled"); break; case "Checked": case "CheckState": OnPropertyChanged("CheckState"); break; } }