VirtualizingPanel.ShouldItemsChangeAffectLayout Méthode

Définition

Retourne une valeur indiquant si un élément modifié dans un ItemsControl affecte la disposition pour 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 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

Boolean

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

S’applique à