Inheritance: System.Windows.Controls.UserControl
示例#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;
        }
示例#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;
        }