JournalEntry.SetKeepAlive Method (DependencyObject, Boolean)

 

Sets the KeepAlive attached property of the specified element.

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

public static void SetKeepAlive(
	DependencyObject dependencyObject,
	bool keepAlive
)

Parameters

dependencyObject
Type: System.Windows.DependencyObject

The element on which to set the attached property value.

keepAlive
Type: System.Boolean

true to keep the journal entry in memory; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: