public BackupPage(ViewModels.Config.BackupViewModel backup) { InitializeComponent(); SetDataContext(backup); }
private void SetDataContext(ViewModels.Config.BackupViewModel backup) { DataContext = backup; }