Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
JournalEntry Class
 KeepAlive Attached Property
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
JournalEntry..::.KeepAlive Attached Property

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/xaml/presentation
Visual Basic (Declaration)
See GetKeepAlive, SetKeepAlive
Visual Basic (Usage)
See GetKeepAlive, SetKeepAlive
C#
See GetKeepAlive, SetKeepAlive
Visual C++
See GetKeepAlive, SetKeepAlive
JScript
See GetKeepAlive, SetKeepAlive
XAML Attribute Usage
<object JournalEntry.KeepAlive="bool" .../>

Property Value

Type: System..::.Boolean
true if the content is retained in navigation history; otherwise, false.

Identifier field

KeepAliveProperty

Metadata properties set to true

None

See KeepAlive for how this property is used by pages.

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

C#
<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    JournalEntry.KeepAlive="True"
    >
  <!--Page Content-->
</Page>

Windows Vista

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker