Exemple #1
0
        /// <summary>
        /// Class constructor.
        /// </summary>
        public CommonSettingsControlViewModel()
        {
            // Public commands
            CommonButtonCommand = new CommonButtonCommand();

            // Sub viewmodels
            ExtensionVm              = new ExtensionSettingsViewModel();
            LangSettingsVm           = new LanguageSettingsViewModel();
            SampleRateSettingsVm     = new SampleRateSettingsViewModel();
            LibSettingsVm            = new LibrarySettingsViewModel();
            OnlineMetadataSettingsVm = new OnlineMetadataSettingsViewModel();
            ThemeSettingsSubVm       = new ThemeSettingsViewModel();
            PrivacySettingsVm        = new PrivacyViewModel();
        }
Exemple #2
0
 public OnlineMetadataSettingsView()
 {
     InitializeComponent();
     _navigationHelper = new NavigationHelper(this);
     _viewModel        = new OnlineMetadataSettingsViewModel();
 }