//public ReportSetupModel ReportSetup { get; private set; }

        private void InitializeTabs()
        {
            try
            {
                #region DB SETUP OPTIONS

                if (!File.Exists(this.ReportFileName))
                {
                    throw new ApplicationException("Setup not Found");
                }

                DbConfiguration.Instance.Initialize(this.ReportFileName);

                DatabaseConnection.Instance.InitializeConnectionString(DbConfiguration.Instance.ReportSetup);

                #endregion

                #region INITIALIZE TABS

                this.uxDataPages = new ReportCategories()
                {
                    Title = "Data Report"
                };

                this.uxCoverPage = new ReportHeaderFooters(ReportTypeEnum.CoverPage)
                {
                    Title = "Cover Pages"
                };

                this.uxHeadersAndFooters = new ReportHeaderFooters(ReportTypeEnum.PageHeaderAndFooter)
                {
                    Title = "Headers and Footers"
                };

                this.uxFinalPage = new ReportHeaderFooters(ReportTypeEnum.FinalPage)
                {
                    Title = "Final Pages"
                };

                this.uxMainTab.Items.Add(this.uxDataPages);

                this.uxMainTab.Items.Add(this.uxCoverPage);

                this.uxMainTab.Items.Add(this.uxHeadersAndFooters);

                this.uxMainTab.Items.Add(this.uxFinalPage);

                this.uxMainTab.SetActive(0);

                #endregion
            }
            catch (Exception err)
            {
                MessageBox.Show(err.InnerExceptionMessage());
            }
        }
        public ReportCategories()
        {
            this.InitializeComponent();

            this.uxReports = new ReportHeaderFooters(ReportTypeEnum.ReportContent);

            Grid.SetRow(this.uxReports, 0);

            Grid.SetColumn(this.uxReports, 3);

            this.uxMainGrid.Children.Add(this.uxReports);

            this.LoadCategoryTree();
        }