TreeView for WinForms | ComponentOne
C1.Framework Namespace / XViewLight Class / GetNextElement Method
XViewLight.Element where to start.
true to move forward in the tab order; false to move backward in the tab order.
true to ignore elements with the TabStop property set to false; otherwise, false.
true to include nested (children of child elements) child elements; otherwise, false.
true to continue searching from the first element in the tab order after the last element has been reached; otherwise, false.

In This Topic
    GetNextElement Method (XViewLight)
    In This Topic
    Gets the next XViewLight.Element given a start XViewLight.Element.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetNextElement( _
       ByVal e As Element, _
       ByVal forward As Boolean, _
       ByVal tabStopOnly As Boolean, _
       ByVal nested As Boolean, _
       ByVal wrap As Boolean _
    ) As Element
    protected virtual Element GetNextElement( 
       Element e,
       bool forward,
       bool tabStopOnly,
       bool nested,
       bool wrap
    )

    Parameters

    e
    XViewLight.Element where to start.
    forward
    true to move forward in the tab order; false to move backward in the tab order.
    tabStopOnly
    true to ignore elements with the TabStop property set to false; otherwise, false.
    nested
    true to include nested (children of child elements) child elements; otherwise, false.
    wrap
    true to continue searching from the first element in the tab order after the last element has been reached; otherwise, false.

    Return Value

    The next (or previous) XViewLight.Element in the tab order, or null if no element was found.
    See Also