/// <summary> /// Initializes a new instance of the <see cref="SettingsWindow"/> class. /// </summary> /// <param name="viewModel">The view model to inject.</param> /// <remarks> /// This constructor can be used to use view-model injection. /// </remarks> public SettingsWindow(SettingsViewModel viewModel) : base(viewModel) { InitializeComponent(); this.TrackViewForAnalytics(); }
public SettingsWindow(SettingsViewModel viewModel) : base(viewModel, DataWindowMode.OkCancelApply) { InitializeComponent(); }
public ApplicationViewModel() { Settings = new SettingsViewModel(); Status = new StatusViewModel(); }