VirtualizingPanel.ShouldItemsChangeAffectLayout Method

Definition

Returns a value that indicates whether a changed item in an ItemsControl affects the layout for this panel.

C#
public bool ShouldItemsChangeAffectLayout(bool areItemChangesLocal, System.Windows.Controls.Primitives.ItemsChangedEventArgs args);

Parameters

areItemChangesLocal
Boolean

true if the changed item is a direct child of this VirtualizingPanel; false if the changed item is an indirect descendant of the VirtualizingPanel.

args
ItemsChangedEventArgs

Contains data regarding the changed item.

Returns

true if the changed item in an ItemsControl affects the layout for this panel; otherwise, false.

Applies to

Produkt Verzie
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10