NavigationWindow.AddChild Method (Object)

 
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.

Adds a child object.

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

override AddChild : 
        value:Object -> unit

Parameters

value
Type: System.Object

The child object to add.

Exception Condition
InvalidOperationException

when this method is called. This prevents content from being added to NavigationWindow using XAML.

.NET Framework
Available since 3.0
Return to top
Show: