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) 

事件类型

适用于