This project has moved and is read-only. For the latest updates, please go here.

Title Bar is always black

Jun 18, 2016 at 11:23 AM

I am using the AeroWizard as a UserControl. For some reason, the color of the TitleBar is always black. I have ClassicStyle set to Automatic. See screenshot 1 below.

I tried setting this.titleBar.SupportGlass to false and this partially fixes the problem as shown in screemshot 2 below.

Any help would be appreciated.

Jun 18, 2016 at 11:33 AM
I just wanted to add a few more points.

When I try ClassicStyle Aero, I get this:

When I try ClassicStyle Basic, I get this:

I am running on Windows 10.

Finally, in Visual Studio during Design Mode, the wizard looks perfect:
Jun 20, 2016 at 8:53 PM
Edited Jun 20, 2016 at 8:54 PM
The WizardControl is designed to be used only on a Form. It has internal logic that attaches to the Form for closing logic and painting instructions, including using the DWM API for the title bar. You can use the WizardContainer as part of a UserControl, but you will lose some of the button logic.