Xceed Ultimate ListBox for Silverlight Documentation
DataSourceChangedEventArgs Constructor(DataSourceChangedAction,IEnumerable<Object>,IEnumerable<Object>)


The DataSourceChangedAction that caused the data source to change.
The new items involved in the change
The list of items affected by the change
Initializes a new instance of the DataSourceChangedEventArgs class specifying the action that caused the data source to change as well as the new items involved in the change, and those affected by it. 
Syntax
Public Function New( _
   ByVal action As DataSourceChangedAction, _
   ByVal newItems As IEnumerable(Of Object), _
   ByVal oldItems As IEnumerable(Of Object) _
)
Dim action As DataSourceChangedAction
Dim newItems As IEnumerable(Of Object)
Dim oldItems As IEnumerable(Of Object)
 
Dim instance As New DataSourceChangedEventArgs(action, newItems, oldItems)
public DataSourceChangedEventArgs( 
   DataSourceChangedAction action,
   IEnumerable<object> newItems,
   IEnumerable<object> oldItems
)

Parameters

action
The DataSourceChangedAction that caused the data source to change.
newItems
The new items involved in the change
oldItems
The list of items affected by the change
Exceptions
ExceptionDescription
System.ArgumentExceptionnewItems must be specified when the Add action is specified.
System.ArgumentExceptionoldItems must be specified when the Remove action is specified.
System.ArgumentExceptionnewItems must be specified when the Replace action is specified.
System.ArgumentExceptionoldItems must be specified when the Replace action is specified.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataSourceChangedEventArgs Class
DataSourceChangedEventArgs Members
Overload List

Send Feedback