VirtualizingPanel.ShouldItemsChangeAffectLayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether a changed item in an ItemsControl affects the layout for this panel.
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
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.
Contains data regarding the changed item.
Returns
true
if the changed item in an ItemsControl affects the layout for this panel; otherwise, false
.