NavigationService.Content Property

Gets or sets a reference to the object that contains the current content.

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

public Object Content { 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft