JournalOwnership Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies the type of journal used by the frame.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
| Member name | Description | |
|---|---|---|
| Automatic | If the Frame control is a top-level frame, it integrates with the browser journal; otherwise, it maintains its own journal. | |
| OwnsJournal | The Frame maintains its own journal. This option can be used with any Frame. | |
| UsesParentJournal | The Frame integrates with the browser journal. This option can be used only with a top-level Frame; otherwise, an exception is thrown. |
You use the JournalOwnership enumeration when setting the JournalOwnership property of the Frame class to specify whether the frame integrates with the browser journal. When a frame is integrating with the browser journal, the browser's navigation history includes navigation that has occurred within the frame. Only top-level frames can integrate with the browser journal.
The default value for the JournalOwnership property is Automatic which means the frame will integrate with the browser journal if it is a top-level frame. You set the JournalOwnership property to OwnsJournal when you do not want the browser history to include navigation that has occurred within the frame.