Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data Namespace / ListDataSourceProvider Class / ListDataSourceProvider Constructor
An IEnumerable representing the data source to wrap.


In This Topic
    ListDataSourceProvider Constructor
    In This Topic
    Initializes a new instance of the ListDataSourceProvider class specifying the local data source to wrap.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal dataSource As IEnumerable _
    )
    'Usage
     
    Dim dataSource As IEnumerable
     
    Dim instance As New ListDataSourceProvider(dataSource)
    public ListDataSourceProvider( 
       IEnumerable dataSource
    )

    Parameters

    dataSource
    An IEnumerable representing the data source to wrap.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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