NavigationService.Content 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 reference to the object that contains the current content.

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

member Content : Object with get, set

Property Value

Type: System.Object

An object that is a reference to the object that contains the current content.

Content can be set in one of two ways:

Setting NavigationService initiates a new navigation; since navigation is asynchronous, Content won't return a value if it is inspected immediately after being set.

.NET Framework
Available since 3.0
Return to top
Show: