Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

JournalOwnership Enumeration

 

Specifies whether a Frame uses its own journal. JournalOwnership is used by the JournalOwnership property.

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

[SerializableAttribute]
public enum JournalOwnership

Member nameDescription
Automatic

Whether or not this Frame will create and use its own journal depends on its parent.

OwnsJournal

The Frame maintains its own journal.

UsesParentJournal

The Frame uses the journal of the next available navigation host up the content tree, if available. Otherwise, navigation history is not maintained for the Frame.

When JournalOwnership is Automatic, the following behavior applies:

System_CAPS_noteNote

once a Frame creates its own journal, switching to Automatic has no effect.

The following example illustrates a Frame yielding journal management to a host NavigationWindow.

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">

  <!-- Frame that uses its own journal -->
  <Frame JournalOwnership="OwnsJournal" Source="Page2.xaml" />

</Page>

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft