Partager via


Frame.JournalOwnership Property

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

Gets or sets whether a frame is responsible for managing its own navigation history, or whether it integrates with the Web browser journal.

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

Syntax

'Declaration
Public Property JournalOwnership As JournalOwnership
public JournalOwnership JournalOwnership { get; set; }
<sdk:Frame JournalOwnership="journalOwnershipValue"/>

XAML Values

  • journalOwnershipValue
    A named constant of the JournalOwnership enumeration, such as OwnsJournal.

Property Value

Type: System.Windows.Navigation.JournalOwnership
A value that specifies whether frame manages its own journal. The default value is Automatic.

Exceptions

Exception Condition
InvalidOperationException

A nested frame or more than one frame attempts to integrate with browser journal.

Remarks

Dependency property identifier field: JournalOwnershipProperty

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.