Articles in this section
Category / Section

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

1 min read

 

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

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)
Please sign in to leave a comment
Access denied
Access denied