Commit Graph
8 Commits
Author SHA1 Message Date
Alexis Christoforides aeab5b5902 [System.ComponentModel] BindingList.ListChanged now attempts to provide a PropertyDescriptor when possible.
BindingList subscribes to PropertyChanged events of eligible contained objects. Iff the PropertyName provided is valid,
the list event's ListChangedEventArgs will also contain a PropertyDescriptor.

This is to match MS behavior.
2014-06-18 22:11:43 -04:00
scottmcarthur 6150625424 Check for null item in BindingList<T>.InsertItem
Prevents `NullReferenceException` when inserting `null` object into `BindingList<T>` where `T` implements `INotifyPropertyChanged`
2013-12-21 17:28:35 +00:00
Gonzalo Paniagua Javier e94ee832da Hook ProopertyNotified event on data sources
Patch by Rasmus Toftahl Olesen that fixes bug #585577.
2011-03-17 02:22:23 -04:00
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Ivan Zlatev 2bff0a751d 2009-01-09 Ivan N. Zlatev <[email protected]>
* BindingList.cs: Add calls InsertItem which raises OnListChanged, so
	don't raise a duplicate OnListChanged in AddNewCore.

svn path=/trunk/mcs/; revision=122896
2009-01-09 14:51:41 +00:00
Jb Evain ee31590daa 2008-04-26 Jb Evain <[email protected]>
* PropertyTabAttribute.cs, BindingList.cs: replace
	usages of new Type [0] with Type.EmptyTypes.
	Found with Gendarme.


svn path=/trunk/mcs/; revision=101929
2008-04-26 16:02:13 +00:00
Atsushi Eno 6256817e8b 2007-05-31 Atsushi Enomoto <[email protected]>
* AsyncOperationManager.cs AttributeCollection.cs
	  BackgroundWorker.cs BindingList.cs CategoryAttribute.cs
	  Component.cs DataObjectFieldAttribute.cs DefaultValueAttribute.cs
	  DescriptionAttribute.cs EventDescriptorCollection.cs
	  IComNativeDescriptorHandler.cs IListSource.cs
	  ListSortDescriptionCollection.cs MemberDescriptor.cs
	  PropertyDescriptor.cs SyntaxCheck.cs ToolboxItemFilterAttribute.cs:
	  2.0 profile updates.


svn path=/trunk/mcs/; revision=78306
2007-05-31 09:42:25 +00:00
Chris Toshok d350d3e221 In Test/System.ComponentModel:
2007-01-20  Chris Toshok  <[email protected]>

	* BindingListTest.cs: new tests for BindingList<T>

In System.ComponentModel:
2007-01-20  Chris Toshok  <[email protected]>

	* BindingList.cs: new class.


svn path=/trunk/mcs/; revision=71405
2007-01-21 03:48:03 +00:00