Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Track / Progress / Waiting / Scroll Bars > trackbar orientation

Answered trackbar orientation

Feed from this thread
  • Nebras avatar

    Posted on Apr 20, 2011 (permalink)

    Hello, Telerik Team
    When  a track bar orientation is "Vertical" , I want to let the maximum value of the trackbar to be at the top and the minimum value at the buttom , How? 

    Reply

  • Answer Ivan Petrov Ivan Petrov admin's avatar

    Posted on Apr 22, 2011 (permalink)

    Hello Nebras ,

    Thank you for writing.

    You do not have to change the position of the maximum and minimum values. You can use the following formula to calculate the value as if the minimum and maximum values positions on the RadTrackBar are switched:

    int value = this.radTrackBar1.Maximum - this.radTrackBar1.Value + this.radTrackBar1.Minimum;

    I hope this will help you. If you need further assistance I would be glad to help.

    Kind regards,
    Ivan Petrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Track / Progress / Waiting / Scroll Bars > trackbar orientation
Related resources for "trackbar orientation"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]