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:
property Object^ Content {
	Object^ get();
	void set(Object^ value);
}

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: