NavigationService::LoadCompleted Event

 

Occurs when content that was navigated to has been loaded, parsed, and has begun rendering.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event LoadCompletedEventHandler^ LoadCompleted {
	void add(LoadCompletedEventHandler^ value);
	void remove(LoadCompletedEventHandler^ value);
}

You handle LoadCompleted if you need to discover pertinent information regarding the navigation request upon load completion. This information is available from the NavigationEventArgs object that is passed to the LoadCompleted event handler, and includes:

LoadCompleted is not raised when the source page could not be found or loaded, in which case NavigationFailed is raised.

System_CAPS_noteNote

When NavigationService raises LoadCompleted, it also raises Application::LoadCompleted event on the Application object.

The following example shows how to handle LoadCompleted.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: