[Mono-bugs] [Bug 540781] New: DisplayNameAttribute in List<T> causes DataGridView to show empty entries

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 21 14:10:51 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=540781


           Summary: DisplayNameAttribute in List<T> causes DataGridView to
                    show empty entries
    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: mmueller12345 at yahoo.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
If a public property has a [DisplayName("Foobar")]-Attribute, DataGridView
won't show its content.

Steps to reproduce the problem:
1. Create a List<T>
2. Add a DisplayNameAttribute to a public property
3. Set dataGridView1.DataSource to this List<T>


Actual Results:
Columns with a DisplayName set, won't show any content. Any other columns will
show their content.

Expected Results:
Contents should be displayed :)

How often does this happen? 
Always.

Additional Information:

-- 
Configure bugmail: http://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