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

Peter Grimm petermgrimm at yahoo.com
Wed Feb 21 18:11:03 EST 2007


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) {


 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070221/22970c64/attachment.html 


More information about the Mono-devel-list mailing list