SplitButton.Click 事件

定义

单击按钮控件时发生。

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

事件类型

适用于