Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / SelectPreviousItem Method


In This Topic
    SelectPreviousItem Method (SmartControl)
    In This Topic
    Retrieves the next SmartItem of the currently selected one, in the Items collection.
    Syntax
    'Declaration
     
    Public Function SelectPreviousItem() As Boolean
    'Usage
     
    Dim instance As SmartControl
    Dim value As Boolean
     
    value = instance.SelectPreviousItem()
    public bool SelectPreviousItem()

    Return Value

    A reference to a SmartItem representing the next SmartItem in the Items collection.
    Remarks

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