Xceed SmartUI for WinForms v3.6 Documentation
SelectFirstItem Method


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

Return Value

true if a SmartItem was selected; false otherwise.
Remarks

This method will iterate through the SmartItems in the collection and select the first SmartItem whose CanBeSelected 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