共用方式為


TabView.TabItemsChanged 事件

定義

當專案集合變更時引發。

// Register
event_token TabItemsChanged(TypedEventHandler<TabView, IVectorChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void TabItemsChanged(event_token const* cookie) const;

// Revoke with event_revoker
TabView::TabItemsChanged_revoker TabItemsChanged(auto_revoke_t, TypedEventHandler<TabView, IVectorChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<TabView,IVectorChangedEventArgs> TabItemsChanged;
function onTabItemsChanged(eventArgs) { /* Your code */ }
tabView.addEventListener("tabitemschanged", onTabItemsChanged);
tabView.removeEventListener("tabitemschanged", onTabItemsChanged);
- or -
tabView.ontabitemschanged = onTabItemsChanged;
Public Custom Event TabItemsChanged As TypedEventHandler(Of TabView, IVectorChangedEventArgs) 

事件類型

適用於