trackbar orientation

2 posts, 1 answers
  1. Nebras
    Nebras  avatar
    73 posts
    Member since:
    Jul 2010

    Posted 20 Apr 2011 Link to this post

    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? 
  2. Answer
    Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 22 Apr 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top