BindingList<T>.IsSortedCore プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リストが並べ替えられたかどうかを示す値を取得します。
protected:
virtual property bool IsSortedCore { bool get(); };
protected virtual bool IsSortedCore { get; }
member this.IsSortedCore : bool
Protected Overridable ReadOnly Property IsSortedCore As Boolean
プロパティ値
リストが並べ替えられている場合は true
。それ以外の場合は false
。 既定値は、false
です。
注釈
クラスは BindingList<T> 並べ替えの基本実装を提供しないため IsSortedCore 、常に既定で を返します false
。
クラスは BindingList<T> 、並べ替えの基本実装を提供しません。 並べ替えを有効にするには、 と から BindingList<T> クラスを派生させます。
並べ替えが完了したときにイベントを発生させるListChanged並べ替えをオーバーライドApplySortCoreして実装します。
並べ替えの削除をオーバーライド RemoveSortCore して実装します。
をオーバーライド SupportsSortingCore し、 に設定 SupportsSortingCore します
true
。
さらに、補助 SortDirectionCore プロパティと SortPropertyCore並べ替えプロパティを実装することもできます。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET