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)

Syntax

'Declaration
Public Shared Function CreateChildElement ( _
    element As IVsUIElement, _
    parent As FrameworkElement, _
    <OutAttribute> ByRef frameworkElement As FrameworkElement _
) As Boolean
public static bool CreateChildElement(
    IVsUIElement element,
    FrameworkElement parent,
    out FrameworkElement frameworkElement
)
public:
static bool CreateChildElement(
    IVsUIElement^ element, 
    FrameworkElement^ parent, 
    [OutAttribute] FrameworkElement^% frameworkElement
)
static member CreateChildElement : 
        element:IVsUIElement * 
        parent:FrameworkElement * 
        frameworkElement:FrameworkElement byref -> bool
public static function CreateChildElement(
    element : IVsUIElement, 
    parent : FrameworkElement, 
    frameworkElement : FrameworkElement
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

WindowHelper Class

CreateChildElement Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace