Exemplo n.º 1
0
        private void Navigate(string param)
        {
            var    p        = new NavigationParameters();
            string tabTitle = TabHeaderTitles.GetHeaderTitle(param);

            p.Add("title", tabTitle);
            _regionManager.RequestNavigate("ContentRegion", param, p);
        }
Exemplo n.º 2
0
        private void CreateJoppdDialog()
        {
            PayrollArchiveModel archive = new PayrollArchiveModel
            {
                Calculation = SelectedArchive,
                Payrolls    = _archivePayrolls,
                Supplements = _archiveSupplements
            };

            var    p        = new NavigationParameters();
            string tabTitle = TabHeaderTitles.GetHeaderTitle("JoppdView");

            p.Add("archive", archive);
            p.Add("title", tabTitle);
            _regionManager.RequestNavigate("ContentRegion", "JoppdView", p);
        }