Compartilhar via


DialDevicePicker.DisconnectButtonClicked Evento

Definição

Indica que o usuário clicou no botão desconectar no seletor.

// Register
event_token DisconnectButtonClicked(TypedEventHandler<DialDevicePicker, DialDisconnectButtonClickedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
DialDevicePicker::DisconnectButtonClicked_revoker DisconnectButtonClicked(auto_revoke_t, TypedEventHandler<DialDevicePicker, DialDisconnectButtonClickedEventArgs const&> const& handler) const;
public event TypedEventHandler<DialDevicePicker,DialDisconnectButtonClickedEventArgs> DisconnectButtonClicked;
function onDisconnectButtonClicked(eventArgs) { /* Your code */ }
dialDevicePicker.addEventListener("disconnectbuttonclicked", onDisconnectButtonClicked);
dialDevicePicker.removeEventListener("disconnectbuttonclicked", onDisconnectButtonClicked);
- or -
dialDevicePicker.ondisconnectbuttonclicked = onDisconnectButtonClicked;
Public Custom Event DisconnectButtonClicked As TypedEventHandler(Of DialDevicePicker, DialDisconnectButtonClickedEventArgs) 

Tipo de evento

Aplica-se a