Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / GetItemsFromType Method / GetItemsFromType(Type) Method
The type of SmartItem to retrieve.


In This Topic
    GetItemsFromType(Type) Method
    In This Topic
    Retrieves a non-recursive list of the child SmartItems that have the specified type (or sub type).
    Syntax
    'Declaration
     
    Public Overloads Function GetItemsFromType( _
       ByVal type As Type _
    ) As SmartItemList
    'Usage
     
    Dim instance As SmartControl
    Dim type As Type
    Dim value As SmartItemList
     
    value = instance.GetItemsFromType(type)
    public SmartItemList GetItemsFromType( 
       Type type
    )

    Parameters

    type
    The type of SmartItem to retrieve.

    Return Value

    A reference to a SmartItemList containing the child SmartItems of the specified type (or sub type).
    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