开发者

how do I set images to scale to 100% of their table-cell? (C#/WinForms)

I have the TableLayoutControl anchored to scale with the window and the images in it need to scale with 开发者_StackOverflow中文版them. I am not concerned with image quality.


Assuming this is WinForms and you have a bunch of PictureBoxes in cells of a TableLayoutPanel, set each one's Dock to Fill and SizeMode to StretchImage.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜