@@ -260,13 +260,13 @@ public string Title {
260260 public void Do ( )
261261 {
262262 collection . InsertInternal ( index , item ) ;
263- collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty ) ;
263+ collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty , null , item ) ;
264264 }
265265
266266 public void Undo ( )
267267 {
268268 collection . RemoveInternal ( index , item ) ;
269- collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty ) ;
269+ collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty , item , null ) ;
270270 }
271271
272272 public bool MergeWith ( ITransactionItem other )
@@ -303,13 +303,13 @@ public string Title {
303303 public void Do ( )
304304 {
305305 collection . RemoveInternal ( index , item ) ;
306- collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty ) ;
306+ collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty , item , null ) ;
307307 }
308308
309309 public void Undo ( )
310310 {
311311 collection . InsertInternal ( index , item ) ;
312- collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty ) ;
312+ collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty , null , item ) ;
313313 }
314314
315315 public bool MergeWith ( ITransactionItem other )
@@ -340,14 +340,14 @@ public void Do()
340340 for ( int i = items . Length - 1 ; i >= 0 ; i -- ) {
341341 collection . RemoveInternal ( i , items [ i ] ) ;
342342 }
343- collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty ) ;
343+ collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty , items , null ) ;
344344 }
345345 public void Undo ( )
346346 {
347347 for ( int i = 0 ; i < items . Length ; i ++ ) {
348348 collection . InsertInternal ( i , items [ i ] ) ;
349349 }
350- collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty ) ;
350+ collection . modelProperty . XamlDesignItem . NotifyPropertyChanged ( collection . modelProperty , null , items ) ;
351351 }
352352 public bool MergeWith ( ITransactionItem other )
353353 {
0 commit comments