Hi,
Sounds like a bug in the DataGrid control. As a workaround, you could
probably set the column header text to an empty string when you make its
width equal to zero.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Shravan Kumar" <(E-Mail Removed)> wrote in message
news:033a01c397bd$1210cd50$(E-Mail Removed)...
> Hi,
> I am using my code to set column widths of datagrid
> columns dynamically, but when I am setting the column
> widths to zero, the header text of the column whose width
> is made to zero is appearing on the existing column
> headers, and the text gets blurred with the painting of
> the column text along with the adjacent width 0 column.
>
> Anybody, can you please give me a solution for it
>
> Thanks,
> Shravan.