This is a migrated thread and some comments may be shown as answers.

RadTrackBar Transparent Background

2 Answers 233 Views
TrackBar
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 08 Oct 2015, 08:44 AM

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. 

Thanks

 

Terry

 

2 Answers, 1 is accepted

Sort by
0
Terry
Top achievements
Rank 1
answered on 08 Oct 2015, 08:48 AM
Just to add - some themes do this quite well like the Metro themes for example.
0
Hristo
Telerik team
answered on 09 Oct 2015, 02:39 PM
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.

Regards,
Hristo Merdjanov
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
Tags
TrackBar
Asked by
Terry
Top achievements
Rank 1
Answers by
Terry
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or