Question

I am working with a ListView in LargeIcon View. I cannot figure out how to pad the top of the ListView with some space before the first ListViewItem. I've tried adjusting the padding but, it does not seem to have any affect. Can someone please tell me how to get more space between the top of the ListView and the first ListViewItem? I have included a screenshot of the ListView that contains one item in LargeIcon view below. The arrow is where I'd like to have a little more white space. Thanks in advance.

ListView Screenshot

Was it helpful?

Solution

You can do the following:

  • Insert your ListView into a panel
  • Change the docking of the panel to Fill
  • Change the docking of the ListView to Fill, too.
  • Finally add TopPadding to your panel.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top