Xceed DataGrid for WPF v7.2 Documentation
DataGridVirtualizingQueryableCollectionView Constructor(IQueryable,Boolean,Int32,Int32)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridVirtualizingQueryableCollectionView Class > DataGridVirtualizingQueryableCollectionView Constructor : DataGridVirtualizingQueryableCollectionView Constructor(IQueryable,Boolean,Int32,Int32)
The IQueryable source that will provide the data items.
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 DataGridVirtualizingQueryableCollectionView specifying the IQueryable source, if item properties should be automatically created, the page size, and the maximum realized item count.
Syntax
'Declaration
 
Public Function New( _

   ByVal queryableSource As IQueryable, _

   ByVal autoCreateItemProperties As Boolean, _

   ByVal pageSize As Integer, _

   ByVal maxRealizedItemCount As Integer _

)
'Usage
 
Dim queryableSource As IQueryable

Dim autoCreateItemProperties As Boolean

Dim pageSize As Integer

Dim maxRealizedItemCount As Integer

 

Dim instance As New DataGridVirtualizingQueryableCollectionView(queryableSource, autoCreateItemProperties, pageSize, maxRealizedItemCount)
public DataGridVirtualizingQueryableCollectionView( 

   IQueryable queryableSource,

   bool autoCreateItemProperties,

   int pageSize,

   int maxRealizedItemCount

)

Parameters

queryableSource
The IQueryable source that will provide the data items.
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

DataGridVirtualizingQueryableCollectionView Class
DataGridVirtualizingQueryableCollectionView Members
Overload List