VirtualizingPanel.ShouldItemsChangeAffectLayout Méthode

Définition

Retourne une valeur qui indique si un élément modifié dans un ItemsControl impact sur la disposition de ce panneau.

public:
 bool ShouldItemsChangeAffectLayout(bool areItemChangesLocal, System::Windows::Controls::Primitives::ItemsChangedEventArgs ^ args);
public bool ShouldItemsChangeAffectLayout(bool areItemChangesLocal, System.Windows.Controls.Primitives.ItemsChangedEventArgs args);
member this.ShouldItemsChangeAffectLayout : bool * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> bool
Public Function ShouldItemsChangeAffectLayout (areItemChangesLocal As Boolean, args As ItemsChangedEventArgs) As Boolean

Paramètres

areItemChangesLocal
Boolean

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

args
ItemsChangedEventArgs

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

Retours

true si l’élément modifié dans un ItemsControl élément affecte la disposition de ce panneau ; sinon, false.

S’applique à