Themes and Visual Styles in Windows Forms CheckBox (CheckBoxAdv)
4 Feb 20252 minutes to read
This section discusses the themes and visual style settings supported by the CheckBoxAdv control.
Themes
Themes can be applied to CheckBoxAdv control by enabling the ThemesEnabled property.
| CheckBoxAdv Property | Description |
|---|---|
| ThemesEnabled | Specifies whether themes are enabled for CheckBoxAdv. |
this.checkBoxAdv1.ThemesEnabled = true;Me.checkBoxAdv1.ThemesEnabled = True
Visual Styles
The appearance of the CheckBoxAdv control can be customized using the Style, Office2007ColorScheme and Office2010ColorScheme properties.
| CheckBoxAdv Properties | Description |
|---|---|
| Style | Gets or sets an advanced appearance for the CheckBoxAdv.The options included are as follows, Default, Office2007, Metro, Office2016Colorful, Office2016White, Office2016Black, Office2016DarkGray |
| Office2007ColorScheme | Gets or sets Office 2007 color scheme.The options included are as follows, Managed, Blue, Silver and Black. The Style property should be set to "Office2007". |
| Office2010ColorScheme | Gets or sets Office 2010 color scheme.The options included are as follows, Managed, Blue, Silver and Black. The Style property should be set to "Office2010". |
this.checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful;Me.checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2016Colorful
When the Office2007ColorScheme property is set to ‘Managed’, the CheckBox in the CheckBoxAdv can be displayed using custom colors supported by the control.
checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2007;
checkBoxAdv1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed;
Office2007Colors.ApplyManagedColors(this, Color.Red);checkBoxAdv1.Style = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Office2007
checkBoxAdv1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed
Office2007Colors.ApplyManagedColors(Me, Color.Red)