Is it possible to set the trackbar to an negative value for its min and a positive value for his max. What i want to do is have the thumb of the trackbar be position at the center when i slide it left it becomes negative and when i slide it right it become positive.
Yes, you can set the Minimum property to negative number. Here is the code snippet:
this.radTrackBar1.Minimum = -20;
this.radTrackBar1.Maximum = 20;
this.radTrackBar1.Value = 0;
Please refer to the attached sample demo and image which demonstrates you the code and the result.
Should you have further questions, I would be glad to help.
Regards,
Ralitsa
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.