RadTrackBar Transparent Background

3 posts, 0 answers
  1. Terry
    Terry avatar
    39 posts
    Member since:
    Sep 2007

    Posted 08 Oct 2015 Link to this post

    Hello Telerik,


    I find in most cases the background of the RadTrackBar when themed just does not fit the style of the page it is being located in.

    eg. I am using Office2010black theme and when placed on a RadPageView tab the background just doesn't go. 

    Is there anyway to make this transparent and take on the colour of the panel in some way?

    I've attached an image to make it clearer. 





  2. Terry
    Terry avatar
    39 posts
    Member since:
    Sep 2007

    Posted 08 Oct 2015 in reply to Terry Link to this post

    Just to add - some themes do this quite well like the Metro themes for example.
  3. Hristo
    Hristo avatar
    1224 posts

    Posted 09 Oct 2015 Link to this post

    Hi Terry,

    Thank you for writing.

    You can modify the color of the track bar by accessing the BackColor property of its RadTrackBarElement ​object:
    this.radTrackBar1.TrackBarElement.BackColor = Color.Transparent;

    Alternatively, you can modify the theme you are using and set the desired color, it may also be Transparent in Visual Style Builder. Please refer to the following section of our documentation explaining in details how custom themes can be developed: Themes

    I am sending you attached a screenshot of the result on my end after applying either of the suggested approaches.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    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
Back to Top