I am assig开发者_如何学运维ning 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?
I you want alignment, use the Image property, not BackgroundImage.
精彩评论