views:

36

answers:

1

I am assigning an image (star icon) as a background image to my listview in a C# winforms application.

listview1.BackgroundImage = Image.FromFile("star.png");

Is it possible to align the image so that it appears somewhere other than the top left-hand corner?

A: 

I you want alignment, use the Image property, not BackgroundImage.

codymanix
Thanks for the suggestion.
John M