VirtualizingPanel.ShouldItemsChangeAffectLayoutCore Méthode

Définition

Retourne une valeur indiquant si un élément modifié dans un ItemsControl affecte la disposition pour ce panneau.

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

Paramètres

areItemChangesLocal
Boolean

true si l'élément modifié est un enfant direct de ce VirtualizingPanel; false si l'élément modifié est un descendant indirect de VirtualizingPanel.

args
ItemsChangedEventArgs

Contient des données concernant l'élément modifié.

Retours

true si l'élément modifié dans ItemsControl affecte la disposition du panneau ; sinon, false.

S’applique à