Xceed Toolkit Plus for WPF v4.6 Documentation
DataSourceChangedEventArgs Constructor(DataSourceChangedAction,IEnumerable<Object>,IEnumerable<Object>)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data Namespace > DataSourceChangedEventArgs Class > DataSourceChangedEventArgs Constructor : 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
'Declaration
 
Public Function New( _

   ByVal action As DataSourceChangedAction, _

   ByVal newItems As IEnumerable(Of Object), _

   ByVal oldItems As IEnumerable(Of Object) _

)
'Usage
 
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
newItems must be specified when the Add action is specified.
oldItems must be specified when the Remove action is specified.
newItems must be specified when the Replace action is specified.
oldItems must be specified when the Replace action is specified.
Requirements

Target Platforms: Windows 11, Windows 10, 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