VirtualizingStackPanel.ShouldItemsChangeAffectLayoutCore メソッド

定義

ItemsControl の変更された項目がこのパネルのレイアウトに影響するかどうかを示す値を返します。

protected:
 override bool ShouldItemsChangeAffectLayoutCore(bool areItemChangesLocal, System::Windows::Controls::Primitives::ItemsChangedEventArgs ^ args);
protected override bool ShouldItemsChangeAffectLayoutCore (bool areItemChangesLocal, System.Windows.Controls.Primitives.ItemsChangedEventArgs args);
override this.ShouldItemsChangeAffectLayoutCore : bool * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> bool
Protected Overrides Function ShouldItemsChangeAffectLayoutCore (areItemChangesLocal As Boolean, args As ItemsChangedEventArgs) As Boolean

パラメーター

areItemChangesLocal
Boolean

変更された項目が、この VirtualizingPanel の直接の子である場合は true。変更された項目が VirtualizingPanel の間接的な子孫である場合は false

args
ItemsChangedEventArgs

変更された項目に関するデータを格納します。

戻り値

Boolean

ItemsControl の変更された項目がこのパネルのレイアウトに影響する場合は true。それ以外の場合は false

適用対象