How to dynamically size the height and border of a ListView in View.Tile?
In a C# Winforms Application I have a ListView control.
I am usin开发者_如何学Cg the View.Tile mode and have run into two issues:
- The Tile truncates at a certain height (I haven't manually set anything). How do I get it to expand to fit the text?
- The Tile view doesn't show a border - how do I get the border to show? Or is the border issue related to #1? I have tried setting the GridLines property to true but it has no effect.
Try using the TileSize property of the ListView to change your tile height. TileSize
GridLines only works when your View is set to Details. GridLines
精彩评论