Xceed DataGrid for WPF v7.2 Documentation
DataGridCollectionView Constructor(IEnumerable)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionView Class > DataGridCollectionView Constructor : DataGridCollectionView Constructor(IEnumerable)
A reference to a collection which implements the IEnumerable interface.
Initializes a new instance of the DataGridCollectionView class specifying the collection—which must implement the IEnumerable interface—around which the DataGridCollectionView will be created.
Syntax
'Declaration
 
Public Function New( _

   ByVal collection As IEnumerable _

)
'Usage
 
Dim collection As IEnumerable

 

Dim instance As New DataGridCollectionView(collection)
public DataGridCollectionView( 

   IEnumerable collection

)

Parameters

collection
A reference to a collection which implements the IEnumerable interface.
Remarks

A DataGridItemProperty will be created for each property in the underlying data source and can be retrieved through the ItemProperties property of the DataGridCollectionView.

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

Reference

DataGridCollectionView Class
DataGridCollectionView Members
Overload List