public SettingsControl(PluginInitContext context, SettingsViewModel viewModel) { InitializeComponent(); _context = context; _settings = viewModel.Settings; DataContext = viewModel; }
public Main() { _viewModel = new SettingsViewModel(); _settings = _viewModel.Settings; }