Xceed SmartUI for WinForms v3.6 Documentation
GetLastItem Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItemCollection Class : GetLastItem Method
A SmartItemState value representing the state of the SmartItem to locate.
Retrieves the last SmartItem in the collection that has the specified state.
Syntax
'Declaration
 
Public Function GetLastItem( _
   ByVal state As SmartItemState _
) As SmartItem
'Usage
 
Dim instance As SmartItemCollection
Dim state As SmartItemState
Dim value As SmartItem
 
value = instance.GetLastItem(state)
public SmartItem GetLastItem( 
   SmartItemState state
)

Parameters

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

Return Value

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

Reference

SmartItemCollection Class
SmartItemCollection Members