Поделиться через


JournalOwnership Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies the type of journal used by the frame.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)

Syntax

'Declaration
Public Enumeration JournalOwnership
public enum JournalOwnership
<object property = "enumMemberName"/>

Members

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.

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.