开发者

Is it possible to align the BackgroundImage of a ListView?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜