private void SetSettingsPanelContent(ParameterSettingsViewModel parameterSettingsViewModel) { // can't use the generic overload as we're using an abstract base class _panel.Content = _viewFactory.GetUserControl(parameterSettingsViewModel.GetType(), parameterSettingsViewModel); }