private void SetTabsToolbarBackColor() { // Since we have no theme, we set the toolbar's // back color to the back color of the tabs var toolbarTheme = new UITheme(); toolbarTheme.SetAppDrawingColor(UITheme.AppColor.ToolbarLight, headerPage.BackColor); toolbarTheme.SetAppDrawingColor(UITheme.AppColor.ToolbarDark, headerPage.BackColor); toolbarTheme.RecalcToolbarHotColor(); this.htmlReportHeaderControl.SetUITheme(toolbarTheme); this.htmlReportTitleControl.SetUITheme(toolbarTheme); this.htmlReportTasksControl.SetUITheme(toolbarTheme); this.htmlReportFooterControl.SetUITheme(toolbarTheme); }