C#: Extending from more than 1 class
问题 Suppose I have a ViewModel TabViewModel that Extends ObservableObject the class for ViewModels in the MVVM Foundation Framework. Then I also have a EditorTabViewModel that extends TabViewModel , Now I need to extend DependencyObject to implement DependencyProperties. I cannot extend more than 1 class. How might I implement this? I could have an "intermediate" class like ... TabViewModel : ObservableObject EditorTabViewModel : TabViewModel DependentEditorTabViewModel : DependencyObject but