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

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.

NoteNote

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

The following example shows how to handle LoadCompleted.

void NavigationService_LoadCompleted(object sender, NavigationEventArgs e)
{
    string msg = string.Format("{0} loaded.", e.Uri.OriginalString);
    this.progressStatusBarItem.Content = msg;
}

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft