DialDevicePicker.DialDeviceSelected Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the user selected a device from the picker.
// Register
event_token DialDeviceSelected(TypedEventHandler<DialDevicePicker, DialDeviceSelectedEventArgs const&> const& handler) const;
// Revoke with event_token
void DialDeviceSelected(event_token const* cookie) const;
// Revoke with event_revoker
DialDevicePicker::DialDeviceSelected_revoker DialDeviceSelected(auto_revoke_t, TypedEventHandler<DialDevicePicker, DialDeviceSelectedEventArgs const&> const& handler) const;
public event TypedEventHandler<DialDevicePicker,DialDeviceSelectedEventArgs> DialDeviceSelected;
function onDialDeviceSelected(eventArgs) { /* Your code */ }
dialDevicePicker.addEventListener("dialdeviceselected", onDialDeviceSelected);
dialDevicePicker.removeEventListener("dialdeviceselected", onDialDeviceSelected);
- or -
dialDevicePicker.ondialdeviceselected = onDialDeviceSelected;
Public Custom Event DialDeviceSelected As TypedEventHandler(Of DialDevicePicker, DialDeviceSelectedEventArgs)