Visual Styles in Windows Forms ComboBoxAutoComplete(Classic)
9 Dec 2019 / 1 minute to read
Visual Styles for the ComboBoxAutoComplete control can be set using VisualStyle property. The styles are,
- Office2016Colorful
- Office2016White
- Office2016Black
- Office2016DarkGray
- Metro
- Office2010
- Office2007
- Default
this.comboBoxAutoComplete1.VisualStyle = Syncfusion.Windows.Forms.Tools.ThemedComboBoxStyles.Office2016Colorful;
Me.comboBoxAutoComplete1.VisualStyle = Syncfusion.Windows.Forms.Tools.ThemedComboBoxStyles.Office2016Colorful
NOTE
The control supports all the three office color schemes.
Custom Colors
We can also apply custom colors to the ComboBoxAutoComplete control by setting Office2007ColorTheme to “Managed” and specifying the custom color through the ApplyManagedColors method as follows.
this.comboBoxAutoComplete1.Office2007ColorTheme = Syncfusion.Windows.Forms.Office2007Theme.Managed;
Office2007Colors.ApplyManagedColors(this, Color.LightGreen);
Me.comboBoxAutoComplete1.Office2007ColorTheme = Syncfusion.Windows.Forms.Office2007Theme.Managed
Office2007Colors.ApplyManagedColors(this, Color.LightGreen)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page