Export (0) Print
Expand All

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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[SerializableAttribute] 
public enum JournalOwnership
/** @attribute SerializableAttribute() */ 
public enum JournalOwnership
SerializableAttribute 
public enum JournalOwnership
<object property="EnumerationValue" .../>

 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:

  • The hosted Frame behaves as though UsesParentJournal was set if it is hosted by either a Frame or a NavigationWindow.

  • The hosted Frame behaves as though OwnsJournal was set if:

    • It is not directly hosted by either a Frame or NavigationWindow.

    • It is hosted by at least one Frame, where each containing Frame has its JournalOwnership property is set to UsesParentJournal.

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft