Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
NavigationService.Content Property
Definition
- Namespace:
- System.Windows.Navigation
- Assembly:
- PresentationFramework.dll
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a reference to the object that contains the current content.
public:
property System::Object ^ Content { System::Object ^ get(); void set(System::Object ^ value); };
public object Content { get; set; }
member this.Content : obj with get, set
Public Property Content As Object
Property Value
An object that is a reference to the object that contains the current content.
Remarks
Content can be set in one of two ways:
Directly, by setting it to a reference to an object.
Setting NavigationService initiates a new navigation; since navigation is asynchronous, Content won't return a value if it is inspected immediately after being set.
Applies to
See also
Feedback
Was this page helpful?
