Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / GetFirstItem Method
A SmartItemState value representing the state of the SmartItem to locate.


GetFirstItem Method
Retrieves the first SmartItem in the collection that has the specified state.
Syntax
'Declaration
 
Public Function GetFirstItem( _
   ByVal state As SmartItemState _
) As SmartItem
 
'Usage
 
Dim instance As SmartItemCollection
Dim state As SmartItemState
Dim value As SmartItem
 
value = instance.GetFirstItem(state)

Parameters

state
A SmartItemState value representing the state of the SmartItem to locate.

Return Value

A reference to a SmartItem representing the first 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