Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartControl Class / GetItemsFromType Method / GetItemsFromType(Type,Boolean) Method
The type of SmartItem to retrieve.
true if child SmartItems should also be returned; false otherwise.


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

    Parameters

    type
    The type of SmartItem to retrieve.
    recursive
    true if child SmartItems should also be returned; false otherwise.

    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