Share via


SplitButton.Click Event

Definition

Occurs when a button control is clicked.

// Register
event_token Click(TypedEventHandler<SplitButton, SplitButtonClickEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SplitButton::Click_revoker Click(auto_revoke_t, TypedEventHandler<SplitButton, SplitButtonClickEventArgs const&> const& handler) const;
public event TypedEventHandler<SplitButton,SplitButtonClickEventArgs> Click;
function onClick(eventArgs) { /* Your code */ }
splitButton.addEventListener("click", onClick);
splitButton.removeEventListener("click", onClick);
- or -
splitButton.onclick = onClick;
Public Custom Event Click As TypedEventHandler(Of SplitButton, SplitButtonClickEventArgs) 

Event Type

Applies to