Share via


TabView.TabItemsChanged Event

Definition

Raised when the items collection has changed.

// 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) 

Event Type

Applies to