Radtoggleswitch not rendering as designed

1 Answer 20 Views
Buttons, RadioButton, CheckBox, etc
Top achievements
Rank 1
Shuvrangshu asked on 11 May 2021, 10:27 AM

I am new to Telerik controls.

I have updated the design of a radtoggleswitch. This is how it looks in the VS designer . But when i run the application the look changes to . Cannot figure out why this is happening. Am i missing something here,

1 Answer, 1 is accepted

Sort by
Dess | Tech Support Engineer, Principal
Telerik team
answered on 11 May 2021, 11:13 AM

Hello, Shuvrangshu,

According to the provided information, it is not clear what are the changes that you made at design time to achieve the rounded shape for RadToggleSwitch. However, if you want to achieve this design at run time, I can suggest you to use the following code snippet:  

        public RadForm1()

            this.radToggleSwitch1.ToggleSwitchElement.Shape = new RoundRectShape(10);
            this.radToggleSwitch1.ToggleSwitchElement.Thumb.Shape = new RoundRectShape(10);


I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Dess | Tech Support Engineer, Sr.
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Buttons, RadioButton, CheckBox, etc
Asked by
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question