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
Dess | Tech Support Engineer, Principal
answered on 11 May 2021, 11:13 AM
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:
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.