Having an issue switching a listview from Tile to Details View with groups.
When the list view has groups and the Default View is Tile, when changing the view to Details the first Group is not shown. Its under the column header.
I jerry rigged it with creating a global variable to store the tile size and when switching to details view setting the tile size to a new size of 1,1. When switching back to Tile View setting the Tile Size to the Global Tile Size Stored.
Interested if someone can come up with another, maybe more proper way, of doing this.
You should be able to simulate it with adding a listview, adding 2 groups, adding 2 items, attach an item to each group, and add 1 column.
Set the default View to Tile.
In a button click event change the view to Details. Hopefully, you see my issue.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ListView1.View = View.Details 'Uncomment the next line to perform a jerry rig fix 'ListView1.TileSize = New Size(1, 1) End Sub