[Mono-bugs] [Bug 486021] New: DataGridView: Browsable(false) attribute is ignored when generating columns

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 17 11:03:10 EDT 2009


https://bugzilla.novell.com/show_bug.cgi?id=486021


           Summary: DataGridView: Browsable(false) attribute is ignored
                    when generating columns
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: novell at asztal.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=280025)
 --> (https://bugzilla.novell.com/attachment.cgi?id=280025)
Test case

When binding a collection of objects to a DataGridView and AutoGenerateColumns
is set to true, the properties marked Browsable(false) still have a column
generated for them.

Compile the attachment with -r:System.Windows.Forms and run it, and there will
be 3 columns in the DataGridView: X, Y, and Z. The .NET DataGridView shows only
the X and Y columns.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list