DevicePicker.DevicePickerDismissed 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 device picker was light dismissed by the user. Light dismiss happens when the user clicks somewhere other than the picker UI and the picker UI disappears.
// Register
event_token DevicePickerDismissed(TypedEventHandler<DevicePicker, IInspectable const&> const& handler) const;
// Revoke with event_token
void DevicePickerDismissed(event_token const* cookie) const;
// Revoke with event_revoker
DevicePicker::DevicePickerDismissed_revoker DevicePickerDismissed(auto_revoke_t, TypedEventHandler<DevicePicker, IInspectable const&> const& handler) const;
public event TypedEventHandler<DevicePicker,object> DevicePickerDismissed;
function onDevicePickerDismissed(eventArgs) { /* Your code */ }
devicePicker.addEventListener("devicepickerdismissed", onDevicePickerDismissed);
devicePicker.removeEventListener("devicepickerdismissed", onDevicePickerDismissed);
- or -
devicePicker.ondevicepickerdismissed = onDevicePickerDismissed;
Public Custom Event DevicePickerDismissed As TypedEventHandler(Of DevicePicker, Object)
Event Type
TypedEventHandler<DevicePicker,IInspectable>