Inheritance: System.Windows.Controls.UserControl
Example #1
0
        private void SetDataContext(ViewModels.Config.ConfigViewModel config)
        {
            _Config = config;

            _TextEditorPage = new TextEditorPage(_Config.TextEditor);
            _UpdaterPage    = new UpdaterPage(_Config.Updater);
            _BackupPage     = new BackupPage(_Config.Backup);

            DataContext = this;
        }
Example #2
0
        private void SetDataContext(ViewModels.Config.ConfigViewModel config)
        {
            _Config = config;

            _TextEditorPage = new TextEditorPage(_Config.TextEditor);
            _UpdaterPage = new UpdaterPage(_Config.Updater);
            _BackupPage = new BackupPage(_Config.Backup);

            DataContext = this;
        }