VirtualizingPanel.ShouldItemsChangeAffectLayout Método

Definição

Devolve um valor que indica se um item alterado em um ItemsControl afeta o layout deste painel.

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

Parâmetros

areItemChangesLocal
Boolean

true se o item alterado for um filho direto deste VirtualizingPanel; false se o item alterado for um descendente indireto do VirtualizingPanel.

args
ItemsChangedEventArgs

Contém dados relativos ao item alterado.

Devoluções

true se o item alterado em an ItemsControl afetar a disposição deste painel; caso contrário, false.

Aplica-se a