[Mono-bugs] [Bug 585577] New: BindingSource/BindingList do not hook to PropertyNotified event of INotifyPropertyChanged data sources
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Mar 4 13:31:48 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=585577
http://bugzilla.novell.com/show_bug.cgi?id=585577#c0
Summary: BindingSource/BindingList do not hook to
PropertyNotified event of INotifyPropertyChanged data
sources
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: kwachowski at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=346632)
--> (http://bugzilla.novell.com/attachment.cgi?id=346632)
Sample application
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7)
Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
When BindingSource.Add() or BindingSource.set_DataSource is called, the
BindingSource object does not attach to the subject object's PropertyChanged
event, despite the subject implementing INotifyPropertyChanged. This results in
any binding between the BindingSource object and another (for example: Label)
object not being updated when a bound data value changes.
Similar story for BindingList, except this characteristic results in no
ListChanged event from being called due to ItemChanged on value change.
Reproducible: Always
Steps to Reproduce:
1. Create a BindingSource object, bind to it a object of a type which
implements INotifyPropertyChanged.
2. Create a data binding between another object and the BindingSource object.
3. Change the value of the bound property of the data bound to the
BindingSource object
Actual Results:
[Nothing happens on UI]
Expected Results:
[Bound value display changes]
Compile and execute the attachment under .NET and Mono. Pay attention to the
console output, as traces will indicate whether the PropertyChanged event is
null.
--
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