Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridVirtualizingCollectionView Class / DataGridVirtualizingCollectionView Constructor / DataGridVirtualizingCollectionView Constructor(Type,Boolean,Int32,Int32)
The type of the items contained in the collection.
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.


In This Topic
    DataGridVirtualizingCollectionView Constructor(Type,Boolean,Int32,Int32)
    In This Topic
    Initializes a new instance of the DataGridVirtualizingCollectionView specifying the type of the items it will contain, if item properties should be automatically created, the page size, and the maximum realized item count.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal itemType As Type, _
       ByVal autoCreateItemProperties As Boolean, _
       ByVal pageSize As Integer, _
       ByVal maxRealizedItemCount As Integer _
    )
    'Usage
     
    Dim itemType As Type
    Dim autoCreateItemProperties As Boolean
    Dim pageSize As Integer
    Dim maxRealizedItemCount As Integer
     
    Dim instance As New DataGridVirtualizingCollectionView(itemType, autoCreateItemProperties, pageSize, maxRealizedItemCount)
    public DataGridVirtualizingCollectionView( 
       Type itemType,
       bool autoCreateItemProperties,
       int pageSize,
       int maxRealizedItemCount
    )

    Parameters

    itemType
    The type of the items contained in the collection.
    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