Background Settings in Windows Forms Radio Button (RadioButtonAdv)
9 Dec 2019 / 1 minute to read
The background settings of the RadioButtonAdv are discussed below.
The RadioButtonAdv can be provided with a gradient background using the properties given below.
RadioButtonAdv Properties | Description |
---|---|
BackgroundStyle |
Sets the background style of the RadioButtonAdv.The options included are as follows. HorizontalGradient, VerticalGradient and Default. |
GradientStart | Sets the start color of the gradient of the background of the RadioButtonAdv. |
GradientEnd | Sets the end color of the gradient of the background of the RadioButtonAdv. |
this.radioButtonAdv1.BackgroundStyle = Syncfusion.Windows.Forms.Tools.CheckBoxAdvBackStyle.HorizontalGradient;
this.radioButtonAdv1.GradientStart = System.Drawing.Color.LightCoral;
this.radioButtonAdv1.GradientEnd = System.Drawing.Color.DarkSlateBlue;
Me.radioButtonAdv1.BackgroundStyle = Syncfusion.Windows.Forms.Tools.CheckBoxAdvBackStyle.HorizontalGradient
Me.radioButtonAdv1.GradientStart = System.Drawing.Color.LightCoral
Me.radioButtonAdv1.GradientEnd = System.Drawing.Color.DarkSlateBlue
NOTE
Gradient background cannot be applied to the RadioButtonAdv when its BackgroundStyle property is set to ‘Default’. Also, the background image cannot be displayed with gradient settings.
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