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

radlistview transparent

2 Answers 151 Views
ListView
This is a migrated thread and some comments may be shown as answers.
jack abdallah
Top achievements
Rank 1
jack abdallah asked on 16 Dec 2011, 09:50 AM
Hi ,
i am using latest telerik version
in order to make radlistview transparent to form background i had set the color of radlistview to transparent but it always show a white background on runtime.
if there is any code or method to make radlistview transparent to parent form i will appreciate help.
Best regards, jack

2 Answers, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 20 Dec 2011, 06:04 PM
Hello Jack,

Thank you for your question.

The white background you are seeing is the background of the ListViewElement, which is the main element of RadListView. Here is how you can remove that background:
this.radListView1.ListViewElement.DrawFill = false;

However, please note that there is no real transparency in the windows forms technology. This is mentioned in this MSDN article.

I hope this will help you. Do not hesitate to ask if you have any further questions.

All the best,
Ivan Todorov
the Telerik team

Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.

0
jack abdallah
Top achievements
Rank 1
answered on 21 Dec 2011, 11:12 AM
thanks Ivan for the reply  it worked perfectly  :D
Tags
ListView
Asked by
jack abdallah
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
jack abdallah
Top achievements
Rank 1
Share this question
or