This is a migrated thread and some comments may be shown as answers.

how can I remove the radButton border shadow?

2 Answers 423 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
jin
Top achievements
Rank 1
Veteran
jin asked on 12 Jun 2020, 08:59 AM

hello!

I create radButton on the parent control.

and modify button round use Edit UI Elements - shape.

and setting transparent backColor in code.

btnStart.Parent = parentControl;
btnStart.BackColor = Color.Transparent;

 

but still a gray shade left.

How can I remove this?

 

2 Answers, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 16 Jun 2020, 03:58 PM

Hello, Jin,

According to the provided information, I suppose that you would like to remove the gray colored border that is seen over the borders in RadButton. You can set the BoxStyle property to FourBorders:

this.radButton1.ButtonElement.BorderElement.BoxStyle = BorderBoxStyle.FourBorders;

 

I hope this helps. Let me know if I can assist you further.

Regards,
Nadya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
jin
Top achievements
Rank 1
Veteran
answered on 20 Jun 2020, 06:48 AM
WOW, Thank you so much!!!
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
jin
Top achievements
Rank 1
Veteran
Answers by
Nadya | Tech Support Engineer
Telerik team
jin
Top achievements
Rank 1
Veteran
Share this question
or