tags:

views:

59

answers:

3

Hi all I want set Listbox background to transparent but not working Is there any idea?

+1  A: 

As you've no doubt encountered it appears that you can't do this with a ListBox. One possible alternative (suggested here) is to use a list of Labels (which can be transparent) in place of a ListBox. It might not be practical for your situation but it's an option.

Adrian
Sorry but I have not www.experts-exchange.com account
emdadgar2
And using a sort of Labels is too slow!!!
emdadgar2
Neither do I emdadgar2. The answers are there they're just hard to get at. I think they hide them unless you're coming from Google. Try going here http://www.google.ie/search?q=%22Transparent+Listview%22+site%3Awww.experts-exchange.com, click on the first search item found and then scroll down a few pages to get to the answers.
Adrian
Thanks but I tried it before and not working (very slow).Is there any other solution?
emdadgar2
A: 

Best way is to use Windows presentation foundation ! (WPF)

Sudantha
A: 

The exemple with label is a good idea if you don't want to use WPF. But, if you want to sort, the list a purpose to you to create a list with all the label name and create the number of label you need in a flowpanel. When you want to sort, you not sort the label, but the list, and after change the name of the label.

Ju

Garcia Julien