Compartilhar via


PagedCollectionView Constructor (IEnumerable, Boolean, Boolean)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the PagedCollectionView class and specifies whether the data is sorted and in group order.

Namespace:  System.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Public Sub New ( _
    source As IEnumerable, _
    isDataSorted As Boolean, _
    isDataInGroupOrder As Boolean _
)
public PagedCollectionView(
    IEnumerable source,
    bool isDataSorted,
    bool isDataInGroupOrder
)

Parameters

  • isDataSorted
    Type: System.Boolean
    Specifies whether the source is already sorted.
  • isDataInGroupOrder
    Type: System.Boolean
    Specifies whether the source is already in the correct order for grouping.

Exceptions

Exception Condition
ArgumentNullException

source is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.