Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VirtualizingPanel.ShouldItemsChangeAffectLayout Method

.NET Framework 4.6 and 4.5

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

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool ShouldItemsChangeAffectLayout(
	bool areItemChangesLocal,
	ItemsChangedEventArgs args
)

Parameters

areItemChangesLocal
Type: System.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
Type: System.Windows.Controls.Primitives.ItemsChangedEventArgs

Contains data regarding the changed item.

Return Value

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

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft