BindingListCollectionView.IsDataInGroupOrder 屬性

定義

取得或設定值,這個值表示項目清單 (在套用任何排序和篩選條件 (如果有的話) 之後) 是否已經依照正確順序來分組。

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

屬性值

Boolean

如果項目清單已經依照正確順序來分組,則為 true,否則為 false

備註

將此屬性設定為 true 會通知檢視專案清單已依正確的順序進行分組,並允許檢視使用更有效率的演算法來建置群組。 如果下列狀況,資料會以正確的順序排列:

  1. 屬於指定群組的所有專案都會連續出現,而且

  2. GroupNames如果集合不是空的,中的 GroupNames 群組會顯示在任何其他群組之前,且順序與 中的 GroupNames 相同。

適用於