共用方式為


VirtualizingPanel.OnItemsChanged(Object, ItemsChangedEventArgs) 方法

定義

當與此Panel之 ItemsControl相關聯的Items集合變更時呼叫。

protected:
 virtual void OnItemsChanged(Platform::Object ^ sender, ItemsChangedEventArgs ^ args) = OnItemsChanged;
void OnItemsChanged(IInspectable const& sender, ItemsChangedEventArgs const& args);
protected virtual void OnItemsChanged(object sender, ItemsChangedEventArgs args);
function onItemsChanged(sender, args)
Protected Overridable Sub OnItemsChanged (sender As Object, args As ItemsChangedEventArgs)

參數

sender
Object

Platform::Object

IInspectable

引發事件的 Object

args
ItemsChangedEventArgs

提供 ItemsChanged 事件的資料。

適用於