[Mono-bugs] [Bug 620326] New: ComboBox Format event does not have the right EventArgs value type (always String)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 7 02:30:59 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=620326#c0


           Summary: ComboBox Format event does not have the right
                    EventArgs value type (always String)
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: stifu at free.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6

See test case.

We have a Combox, an enum ("MyEnum"), and we link the values of the enum to the
ComboBox like this:

comboBox1.DataSource = MyEnum.GetValues(typeof(MyEnum));

We have an event handler for the Format event. The EventArgs
(ListControlConvertEventArgs) of this event should have a value type of
"MyEnum", but it has a value type of "String" with Mono.

I can confirm this problem does not just happen for enums, but also for
objects.

Reproducible: Always

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