NavigationWindow.AddChild Method (Object)

 

Adds a child object.

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

protected override void AddChild(
	object value
)

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: