This documentation is archived and is not being maintained.

NavigationWindow.AddChild Method

Adds a child object.

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

'Declaration
Protected Overrides Sub AddChild ( _
	value As Object _
)
'Usage
Dim value As Object 

Me.AddChild(value)
You cannot use methods in XAML.

Parameters

value
Type: System.Object

The child object to add.

ExceptionCondition
InvalidOperationException

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: