次の方法で共有


XamlUICommand.ExecuteRequested イベント

定義

Execute 呼び出しが行われたときに発生します。

// Register
event_token ExecuteRequested(TypedEventHandler<XamlUICommand, ExecuteRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
XamlUICommand::ExecuteRequested_revoker ExecuteRequested(auto_revoke_t, TypedEventHandler<XamlUICommand, ExecuteRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<XamlUICommand,ExecuteRequestedEventArgs> ExecuteRequested;
function onExecuteRequested(eventArgs) { /* Your code */ }
xamlUICommand.addEventListener("executerequested", onExecuteRequested);
xamlUICommand.removeEventListener("executerequested", onExecuteRequested);
- or -
xamlUICommand.onexecuterequested = onExecuteRequested;
Public Custom Event ExecuteRequested As TypedEventHandler(Of XamlUICommand, ExecuteRequestedEventArgs) 

イベントの種類

適用対象

こちらもご覧ください