ICollectionViewLiveShaping.IsLiveSorting 屬性

定義

取得或設定值,指出是否已啟用即時排序。

public:
 property Nullable<bool> IsLiveSorting { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsLiveSorting { get; set; }
member this.IsLiveSorting : Nullable<bool> with get, set
Public Property IsLiveSorting As Nullable(Of Boolean)

屬性值

如果啟用即時排序資料功能,則為 true,如果未啟用即時排序功能,則為 false,如果無法判斷集合檢視是否實作即時排序功能,則為 null

備註

繼承者的注意事項

您可以 CollectionView 實作即時排序本身,也可以將即時排序委派給另一個物件,例如基礎集合。 如果您委派即時排序, CollectionView 則 可能無法控制是否已啟用。 您必須 CollectionView 接受它委派的物件行為。 CollectionView如果您知道委派物件是否支援即時排序,請將 IsLiveSorting 屬性設定為已知值。 否則,請將 設定 IsLiveSortingnull

適用於