BindingListCollectionView.IsDataInGroupOrder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property bool IsDataInGroupOrder { bool get(); void set(bool value); };
public bool IsDataInGroupOrder { get; set; }
member this.IsDataInGroupOrder : bool with get, set
Public Property IsDataInGroupOrder As Boolean
Property Value
true
if the list of items is already in the correct order for grouping; otherwise, false
.
Remarks
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:
All items belonging to a given group appear consecutively, and
If the GroupNames collection is non-empty, the groups in GroupNames appear before any other groups, and in the same order as in GroupNames.