Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
Other versions are also available for the following:
.NET Framework Class Library for Silverlight
PageResourceContentLoader Class

Loads pages from the application package (.xap file) that correspond to a given URI.

System..::.Object
  System.Windows.Navigation..::.PageResourceContentLoader

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)
Visual Basic (Declaration)
Public NotInheritable Class PageResourceContentLoader _
    Implements INavigationContentLoader
C#
public sealed class PageResourceContentLoader : INavigationContentLoader

The PageResourceContentLoader type exposes the following members.

  NameDescription
Public methodPageResourceContentLoaderInitializes a new instance of the PageResourceContentLoader class.
Top
  NameDescription
Public methodBeginLoadBegins asynchronous loading of the page that corresponds to the specified target URI.
Public methodCancelLoadAttempts to cancel content loading for the specified asynchronous operation.
Public methodCanLoadGets a value that indicates whether the specified URI can be loaded.
Public methodEndLoadCompletes the asynchronous content loading operation.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Typically, you will not call the methods of this class directly unless you implement an alternative to the Silverlight navigation system.

The Silverlight navigation system uses this class as its default content loader. This class is the default implementation of INavigationContentLoader, and an instance of this class is the default value for the Frame..::.ContentLoader property.

The Silverlight navigation system requires the navigation target to be a UserControl instance, although you will typically load Page instances. The Page class derives from the UserControl class and provides additional navigation support.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker