Input for WinForms | ComponentOne
C1.Win.Input Namespace / IComboBox Interface / SetItemsDataSource Method
the items data source.
the initially selected item index.

In This Topic
    SetItemsDataSource Method (IComboBox)
    In This Topic
    Sets items data source for the C1ComboBox.
    Syntax
    'Declaration
     
    
    Sub SetItemsDataSource( _
       ByVal dataSource As Object, _
       Optional ByVal selectedIndex As Integer _
    ) 
    void SetItemsDataSource( 
       object dataSource,
       int selectedIndex
    )

    Parameters

    dataSource
    the items data source.
    selectedIndex
    the initially selected item index.
    See Also