Articles in this section
Category / Section

How can I enable the properties of wizard buttons to give them the same look-and-feel as we have given to other buttons?

 

The buttons in the WizardControl have their FlatStyle settings set to System by default (themes enabled), and hence all custom color settings are ignored. If you set them to Standard, as shown below, the BackColor/ForeColor settings work as expected.


Here is the code snippet:

C#

this.wizardControl1.BackButton.FlatStyle = FlatStyle.Standard;
this.wizardControl1.NextButton.FlatStyle = FlatStyle.Standard;
this.wizardControl1.CancelButton.FlatStyle = FlatStyle.Standard;
this.wizardControl1.FinishButton.FlatStyle = FlatStyle.Standard;
this.wizardControl1.HelpButton.FlatStyle = FlatStyle.Standard;

VB

Me.WizardControl1.BackButton.FlatStyle = FlatStyle.Standard
Me.WizardControl1.NextButton.FlatStyle = FlatStyle.Standard
Me.WizardControl1.CancelButton.FlatStyle = FlatStyle.Standard
Me.WizardControl1.FinishButton.FlatStyle = FlatStyle.Standard
Me.WizardControl1.HelpButton.FlatStyle = FlatStyle.Standard

Sample

http://websamples.syncfusion.com/samples/KB/Tools.Windows/WizardButtonAppearance/main.htm

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied