{"title":"DataGridView\u306e\u5168\u3066\u306e\u5217\u5e45\u304c\u8868\u793a\u9818\u57df\u3088\u308a\u3082\u5c0f\u3055\u304b\u3063\u305f\u3089\u6700\u5f8c\u306e\u5217\u5e45\u3092\u6700\u5927\u307e\u3067\u5e83\u3052\u308b - VB.NET","blog_url":"https://tmg0525.hatenadiary.jp/","description":"\u9811\u5f35\u3063\u3066\u66f8\u3044\u305f\u3084\u3064\u306e\u30e1\u30e2 ''' <summary> ''' \u5168\u3066\u306e\u5217\u5e45\u304c\u8868\u793a\u9818\u57df\u3088\u308a\u3082\u5c0f\u3055\u304b\u3063\u305f\u3089\u6700\u5f8c\u306e\u5217\u5e45\u3092\u6700\u5927\u307e\u3067\u5e83\u3052\u308b ''' </summary> Public Sub AutoFillLastColumn() ' \u30ab\u30e9\u30e0\u306e\u6a2a\u5e45\u306e\u5408\u8a08\u5024 Dim colWidthSum As Integer = 0 For Each col As DataGridViewColumn In Me._dgv.Columns colWidthSum += col.Width Next ' \u884c\u30d8\u30c3\u30c0\u30fc\u306e\u6a2a\u5e45\u3082\u52a0\u7b97\u3059\u308b colWidthSum += Me._dgv.RowHeadersWidth ' \u8868\u793a\u9818\u57df\u2026","published":"2017-11-06 18:22:50","categories":["VB.NET"],"type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/tmg1998/","provider_url":"https://hatena.blog","blog_title":"TIL","height":"190","author_name":"tmg1998","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmg0525.hatenadiary.jp%2Fentry%2F2017%2F11%2F06%2F182250\" title=\"DataGridView\u306e\u5168\u3066\u306e\u5217\u5e45\u304c\u8868\u793a\u9818\u57df\u3088\u308a\u3082\u5c0f\u3055\u304b\u3063\u305f\u3089\u6700\u5f8c\u306e\u5217\u5e45\u3092\u6700\u5927\u307e\u3067\u5e83\u3052\u308b - VB.NET - TIL\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"url":"https://tmg0525.hatenadiary.jp/entry/2017/11/06/182250","width":"100%","version":"1.0"}