TreeView for WinForms | ComponentOne
C1.Framework Namespace / TreePanel Class / IsChildOf Method
Parent element to investigate.

In This Topic
    IsChildOf Method (TreePanel)
    In This Topic
    Determines whether this element is a child of another element.
    Syntax
    'Declaration
     
    
    Public Function IsChildOf( _
       ByVal parent As Element _
    ) As Boolean
    public bool IsChildOf( 
       Element parent
    )

    Parameters

    parent
    Parent element to investigate.

    Return Value

    True if parent contains this element.
    See Also