JournalEntry.KeepAlive Attached Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the content of a journal entry is either retained or re-created when navigated to in navigation history.

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

See GetKeepAlive, SetKeepAlive

Property Value

Type: System.Boolean

true if the content is retained in navigation history; otherwise, false.

See KeepAlive for how this property is used by pages.

Identifier field

KeepAliveProperty

Metadata properties set to true

None

The following example shows how to set the attached KeepAlive property for a Page.

<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    JournalEntry.KeepAlive="True"
    >
  <!--Page Content-->
</Page>
Return to top
Show: