ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1TreeView Class / FindItem Method
The text to search for



In This Topic
    FindItem Method
    In This Topic
    Returns the first item that matches exactly with the text used as search parameter
    Syntax
    'Declaration
     
    
    Public Function FindItem( _
       ByVal text As String _
    ) As C1TreeViewItem
    'Usage
     
    
    Dim instance As C1TreeView
    Dim text As String
    Dim value As C1TreeViewItem
     
    value = instance.FindItem(text)
    public C1TreeViewItem FindItem( 
       string text
    )
    public:
    C1TreeViewItem^ FindItem( 
       String^ text
    ) 

    Parameters

    text
    The text to search for

    Return Value

    The item that matched the search parameter, null otherwise
    See Also