You can also use Visual Style Builder to edit RadToggleSwitch appearance. See attached image.
We find the option to change between click and drag-drop mode a reasonable functionality. This is why I have logged this as a feature request in our feedback portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item. I have also updated your Telerik points.
For the time being, you can subscribe to the MouseDown and ValueChanging events of RadToggleSwitch and check if mouse position has changed.
int dragOffset = SystemInformation.DragSize.Width;
if (currentX >= initialX - dragOffset &&
currentX <= initialX + dragOffset)
{
e.Cancel = true;
}
this.isMouseDown = false;
this.mousePosition = Point.Empty;
}
I hope this information helps.
Regards,
Todor Vyagov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items