Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / GetNextItem Method
The SmartItem from which to begin the search.
A SmartItemState value representing the state of the SmartItem to locate.


In This Topic
    GetNextItem Method (SmartItemCollection)
    In This Topic
    Retrieves the next SmartItem in the collection that has the specified state.
    Syntax
    'Declaration
     
    Public Function GetNextItem( _
       ByVal item As SmartItem, _
       ByVal state As SmartItemState _
    ) As SmartItem
    'Usage
     
    Dim instance As SmartItemCollection
    Dim item As SmartItem
    Dim state As SmartItemState
    Dim value As SmartItem
     
    value = instance.GetNextItem(item, state)
    public SmartItem GetNextItem( 
       SmartItem item,
       SmartItemState state
    )

    Parameters

    item
    The SmartItem from which to begin the search.
    state
    A SmartItemState value representing the state of the SmartItem to locate.

    Return Value

    A reference to a SmartItem representing the next SmartItem in the collection that has the specified state.
    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