BindingListCollectionView.IsDataInGroupOrder Property

 

Gets or sets a value that indicates whether the list of items (after applying the sort and filters, if any) is already in the correct order for grouping.

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

public bool IsDataInGroupOrder { get; set; }

Property Value

Type: System.Boolean

true if the list of items is already in the correct order for grouping; otherwise, false.

Setting this property to true informs the view that the list of items is already in the correct order for grouping and allows the view to use a more efficient algorithm to build the groups. The data is in the correct order if:

  1. All items belonging to a given group appear consecutively, and

  2. If the GroupNames collection is non-empty, the groups in GroupNames appear before any other groups, and in the same order as in GroupNames.

.NET Framework
Available since 3.0
Return to top
Show: