DataSourceProvider.DataChanged Event
Occurs when the Data property has a new value.
Assembly: WindowsBase (in WindowsBase.dll)
XMLNS for XAML: Not mapped to an xmlns.
Notes to implementers: Raise this event when a new data object becomes available on the Data property.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Also fires for exceptions, at least for ObjectDataProvider
I find this event also fires (in the ObjectDataSource class anyway) if an exception occurs while fetching the data object. This is the only way I have found to determine when an error occurs, so I can retreive it from the Error property.
You'd expect PropertyChanged to work for this, but it's not public.
You'd expect PropertyChanged to work for this, but it's not public.
- 2/10/2011
- Daniel Normal Johnson