Xceed SmartUI for WinForms v3.6 Documentation
SelectLastItem Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItemCollection Class : SelectLastItem Method
Selects the last SmartItem in the collection.
Syntax
'Declaration
 
Public Function SelectLastItem() As Boolean
'Usage
 
Dim instance As SmartItemCollection
Dim value As Boolean
 
value = instance.SelectLastItem()
public bool SelectLastItem()

Return Value

true if a SmartItem was selected; false otherwise.
Remarks

This method will iterate through the SmartItems in the collection and select the last SmartItem whose CanBeSelected property returns true.

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