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 PictureBox
es in cells of a TableLayoutPanel
, set each one's Dock
to Fill
and SizeMode
to StretchImage
.
精彩评论