WindowHelper::CreateChildElement Method (IVsUIElement, FrameworkElement, FrameworkElement%)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates and sets the specified element as a child of the specified parent.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

public:
static bool CreateChildElement(
	IVsUIElement^ element, 
	FrameworkElement^ parent, 
	[OutAttribute] FrameworkElement^% frameworkElement
)

Parameters

element
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIElement

The element to be created and displayed

parent
Type: System.Windows::FrameworkElement

The framework element to be used as parent

frameworkElement
Type: System.Windows::FrameworkElement%

Returns the created child framework element

Return Value

Type: System::Boolean
true if the parent relationship could be established, otherwise false.

Show: