VirtualizingPanel.ShouldItemsChangeAffectLayout Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.
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.