Themes and Visual Styles of RadioButtonAdv in Windows Forms

29 Apr 20212 minutes to read

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

Themes

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

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

Windows forms RadioButtonAdv themes appearance

Visual styles

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

RadioButtonAdv Properties Description
Style Gets or sets an advanced appearance for the RadioButtonAdv.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 RadioButtonAdv visual styles

When the Office2007ColorScheme property is set to ‘Managed’, the RadioButton in the RadioButtonAdv 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 RadioButtonAdv Office2007ColorScheme is set to managed