[Mono-dev] Bug in DataGridViewRow (Patch Included)

Jackson Harper jackson at ximian.com
Thu Feb 22 14:39:51 EST 2007


On Wed, 2007-02-21 at 15:11 -0800, Peter Grimm wrote:
> The height of a newly created DataGridViewRow cannot be changed.
> 
> Small program demonstrating the problem:
> using System;
> using System.Windows.Forms;
> 
> public class DataGridViewRowBugClass {
>     static void Main() {
>         DataGridViewRow row = new DataGridViewRow();
>         row.Height = 17;
>     }
> }
> 
> 
> Patch for mcs\class\Managed.Windows.Forms\System.Windows.Forms
> \DataGridViewRow.cs
> 164c164
> <                     if (height < minimumHeight) {
> ---
> >                     if (value < minimumHeight) {
> 
> 
> 

Thank you, I have committed this patch.

Cheers,
Jackson

> 
> ______________________________________________________________________
> No need to miss a message. Get email on-the-go 
> with Yahoo! Mail for Mobile. Get started.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list