Home All Groups Group Topic Archive Search About

.NET FrameWork 1.1 Winform DataGrid

Author
17 Oct 2006 2:30 AM
siqram
I am trying to find out the actual column width that is available in a
winform datagrid in .NET framework 1.1

Width property gives the width of the datagrid. but i want to
autoresize my clumns and make them fit in the inner width that is
available inside teh datagrid. any idea how to get it? Thanks a lot.

sami

Author
17 Oct 2006 5:01 AM
Cor Ligthert [MVP]
Sigram,

Column styles is for that.

Maybe a little bit more complex than you need but the simple format is as
well in this.

http://www.vb-tips.com/dbPages.aspx?ID=d7d87026-c86b-491c-a535-f7841cece67a

Cor

<siq***@gmail.com> schreef in bericht
Show quoteHide quote
news:1161052229.502634.144800@h48g2000cwc.googlegroups.com...
>I am trying to find out the actual column width that is available in a
> winform datagrid in .NET framework 1.1
>
> Width property gives the width of the datagrid. but i want to
> autoresize my clumns and make them fit in the inner width that is
> available inside teh datagrid. any idea how to get it? Thanks a lot.
>
> sami
>