Skip to main content

ListView resizing in relation to the hosting Window in a .Net Winforms app.

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How do you setup a Listview so that it is also resized when the hosting winform is resized.

Resolution:

The Anchor property of the control does this. By default the control is anchored to the top left. If you anchor top / left / bottom /right it should resize as required.

Old KB# 5746

0 replies

Be the first to reply!