편집

다음을 통해 공유


VirtualizingPanel.ShouldItemsChangeAffectLayoutCore Method

Definition

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

protected:
 virtual bool ShouldItemsChangeAffectLayoutCore(bool areItemChangesLocal, System::Windows::Controls::Primitives::ItemsChangedEventArgs ^ args);
protected virtual bool ShouldItemsChangeAffectLayoutCore (bool areItemChangesLocal, System.Windows.Controls.Primitives.ItemsChangedEventArgs args);
abstract member ShouldItemsChangeAffectLayoutCore : bool * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> bool
override this.ShouldItemsChangeAffectLayoutCore : bool * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> bool
Protected Overridable Function ShouldItemsChangeAffectLayoutCore (areItemChangesLocal As Boolean, args As ItemsChangedEventArgs) As Boolean

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