[Mono-bugs] [Bug 687501] New: PropertyValueChangedEventArgs has incorrect OldValue

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 14 07:11:16 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=687501#c0


           Summary: PropertyValueChangedEventArgs has incorrect OldValue
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cmre99 at cox.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---


Description of Problem:
When using System.Windows.Forms.PropertyGrid and hooking into the
PropertyValueChanged event you receive a PropertyValueChangedEventArgs on the
delegate method.  This value has a member named OldValue which should contain
the initial value of the property grid item before it was changed.  It
currently shows the new value. 

Steps to reproduce the problem:
1. Create a form with the property grid
2. Add an event handler for the PropertyValueChanged event
3. Change a value in the property grid and notice the new value and old value
are both the new value. 


Actual Results:
OldValue has new value

Expected Results:
OldValue should be the value before it was changed

How often does this happen? 
Always

Additional Information:

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