JournalOwnership JournalOwnership JournalOwnership JournalOwnership Enum

Definition

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

public enum class JournalOwnership
[System.Serializable]
public enum JournalOwnership
type JournalOwnership = 
Public Enum JournalOwnership
Inheritance
JournalOwnershipJournalOwnershipJournalOwnershipJournalOwnership
Attributes

Fields

Automatic Automatic Automatic Automatic 0

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

OwnsJournal OwnsJournal OwnsJournal OwnsJournal 1

The Frame maintains its own journal.

UsesParentJournal UsesParentJournal UsesParentJournal UsesParentJournal 2

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.

Examples

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>

Remarks

When JournalOwnership is Automatic, the following behavior applies:

Note

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

Applies to