.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/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax

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.
Dependency Property Information

Identifier field

KeepAliveProperty

Metadata properties set to true

None

Remarks

See KeepAlive for how this property is used by pages.

Examples

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

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Other Resources

Tags :


Page view tracker