Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27415

[RESOLVED] ListView autosize

$
0
0
I am having some issues with auto sizing the list view. I have set the properties to auto size based on the ColumnContent but in one column my header is longer than the content so it cuts off the Header. Here is what I have so Far.

Code:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        StoreList.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent)
    End Sub
End Class

And this is what I am getting
Attachment 95371

Then when I go to print that list view the cells in Columns are wrapping and cutting off
Attachment 95369
Attached Images
   

Viewing all articles
Browse latest Browse all 27415

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>