DevicePicker.DevicePickerDismissed 事件

定义

指示设备选取器被用户轻消除。 当用户单击选取器 UI 以外的某个位置并且选取器 UI 消失时,会发生轻量消除。

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

事件类型

适用于