JournalOwnership Enumeration
Specifies whether a Frame uses its own journal. JournalOwnership is used by the JournalOwnership property.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| 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:
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.
Note |
|---|
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 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.
Note