This topic has not yet been rated - Rate this topic

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
<object property="enumerationMemberName" .../>
Member nameDescription
AutomaticWhether or not this Frame will create and use its own journal depends on its parent.
OwnsJournalThe Frame maintains its own journal.
UsesParentJournalThe 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:

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>

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.