InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Framework Namespace / ScrollBarElement.ScrollBarLineButton Class / GetParent<T> Method

In This Topic
    GetParent<T> Method (ScrollBarElement.ScrollBarLineButton)
    In This Topic
    Navigates up the tree to find an ancestor of a given type.
    Syntax
    'Declaration
     
    Public Function GetParent(Of T As Element)() As T
    public T GetParent<T>()
    where T: Element

    Type Parameters

    T

    Return Value

    A reference to the ancestor of the given type, null if not found.
    See Also