DomainDataSource.LoadedData Event

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Occurs when a data loading operation is completed.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Event LoadedData As EventHandler(Of LoadedDataEventArgs)
'Usage
Dim instance As DomainDataSource
Dim handler As EventHandler(Of LoadedDataEventArgs)

AddHandler instance.LoadedData, handler
public event EventHandler<LoadedDataEventArgs> LoadedData
public:
 event EventHandler<LoadedDataEventArgs^>^ LoadedData {
    void add (EventHandler<LoadedDataEventArgs^>^ value);
    void remove (EventHandler<LoadedDataEventArgs^>^ value);
}
member LoadedData : IEvent<EventHandler<LoadedDataEventArgs>,
    LoadedDataEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event is raised on the completion of an asynchronous Load operation. If the operation was canceled via CancelLoad, the AsyncCompletedEventArgs.Cancelled flag will be true. Also, exceptions that occurred during the operation will be available on AsyncCompletedEventArgs.Error. If the data loading was canceled from the LoadingData event, this event will not be raised.

See Also

Reference

DomainDataSource Class

System.Windows.Controls Namespace