Xceed DataGrid for WPF v7.2 Documentation
DataGridVirtualizingCollectionView Constructor(DataTable,Boolean,Int32,Int32)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridVirtualizingCollectionView Class > DataGridVirtualizingCollectionView Constructor : DataGridVirtualizingCollectionView Constructor(DataTable,Boolean,Int32,Int32)
A reference to the DataTable used as the source schema.
true if item properties are to be automatically created; false otherwise.
The number of items that are contained in each page of data that is loaded in memory.
The maximum amount of items that can be loaded in memory.
Initializes a new instance of the DataGridVirtualizingCollectionView specifying the DataTable to use as the source schema, if item properties should be automatically created, the page size, and the maximum realized item count.
Syntax
'Declaration
 
Public Function New( _

   ByVal sourceSchema As DataTable, _

   ByVal autoCreateItemProperties As Boolean, _

   ByVal pageSize As Integer, _

   ByVal maxRealizedItemCount As Integer _

)
'Usage
 
Dim sourceSchema As DataTable

Dim autoCreateItemProperties As Boolean

Dim pageSize As Integer

Dim maxRealizedItemCount As Integer

 

Dim instance As New DataGridVirtualizingCollectionView(sourceSchema, autoCreateItemProperties, pageSize, maxRealizedItemCount)
public DataGridVirtualizingCollectionView( 

   DataTable sourceSchema,

   bool autoCreateItemProperties,

   int pageSize,

   int maxRealizedItemCount

)

Parameters

sourceSchema
A reference to the DataTable used as the source schema.
autoCreateItemProperties
true if item properties are to be automatically created; false otherwise.
pageSize
The number of items that are contained in each page of data that is loaded in memory.
maxRealizedItemCount
The maximum amount of items that can be loaded in memory.
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

DataGridVirtualizingCollectionView Class
DataGridVirtualizingCollectionView Members
Overload List