VirtualizingPanel.OnItemsChanged(Object, ItemsChangedEventArgs) 方法

定义

当与此 ItemsItemsControl 关联的 Panel 集合发生更改时调用。

protected:
 virtual void OnItemsChanged(System::Object ^ sender, System::Windows::Controls::Primitives::ItemsChangedEventArgs ^ args);
protected virtual void OnItemsChanged (object sender, System.Windows.Controls.Primitives.ItemsChangedEventArgs args);
override this.OnItemsChanged : obj * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> unit
abstract member OnItemsChanged : obj * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> unit
override this.OnItemsChanged : obj * System.Windows.Controls.Primitives.ItemsChangedEventArgs -> unit
Protected Overridable Sub OnItemsChanged (sender As Object, args As ItemsChangedEventArgs)

参数

sender
Object

引发事件的 Object

args
ItemsChangedEventArgs

ItemsChanged 事件提供数据。

适用于