Themes and Styling in Windows Forms Radio Button

18 Nov 20182 minutes to read

This section discusses the themes and visual style settings that are supported by the Radio Button control.

Themes

The Radio Button can be provided with a themed appearance using the below given property.

Radio Button Property Description
ThemesEnabled Specifies whether themes are enabled for Radio Button.
this.radioButtonAdv1.ThemesEnabled = true;
Me.radioButtonAdv1.ThemesEnabled = True

Windows forms Radio Button themes appearance

Visual styles

The appearance of the CheckBoxAdv control can be customized using the various options provided by the following properties.

Radio Button Properties Description
Style Gets or sets an advanced appearance for the Radio Button.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".
this.radioButtonAdv1.Style = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Office2016Colorful;
Me.radioButtonAdv1.Style = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Office2016Colorful

Windows forms Radio Button visual styles

When the Office2007ColorScheme property is set to ‘Managed’, the Radio Button can be displayed using custom colors supported by the control.

This can be done programmatically as follows.

this.radioButtonAdv1.Style = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Office2007;
this.radioButtonAdv1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed;
Office2007Colors.ApplyManagedColors(this, Color.Red);
Me.radioButtonAdv1.Style = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Office2007
Me.radioButtonAdv1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed
Office2007Colors.ApplyManagedColors(Me, Color.Red)

Windows forms Radio Button Office2007ColorScheme is set to managed