Share via


TabView.AddTabButtonClick Event

Definition

Occurs when the add (+) tab button has been clicked.

// Register
event_token AddTabButtonClick(TypedEventHandler<TabView, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
TabView::AddTabButtonClick_revoker AddTabButtonClick(auto_revoke_t, TypedEventHandler<TabView, IInspectable const&> const& handler) const;
public event TypedEventHandler<TabView,object> AddTabButtonClick;
function onAddTabButtonClick(eventArgs) { /* Your code */ }
tabView.addEventListener("addtabbuttonclick", onAddTabButtonClick);
tabView.removeEventListener("addtabbuttonclick", onAddTabButtonClick);
- or -
tabView.onaddtabbuttonclick = onAddTabButtonClick;
Public Custom Event AddTabButtonClick As TypedEventHandler(Of TabView, Object) 

Event Type

Applies to