Nevron.UI.WinForm Namespace / NControlHelper Class / HasParentOfType Method


In This Topic
    HasParentOfType Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function HasParentOfType( _
       ByVal c As System.Windows.Forms.Control, _
       ByVal t As System.Type _
    ) As System.Boolean
    'Usage
     
    
    Dim c As System.Windows.Forms.Control
    Dim t As System.Type
    Dim value As System.Boolean
     
    value = NControlHelper.HasParentOfType(c, t)
    public static System.bool HasParentOfType( 
       System.Windows.Forms.Control c,
       System.Type t
    )

    Parameters

    c
    t
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also