DevicePicker.DevicePickerDismissed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示设备选取器被用户轻消除。 当用户单击选取器 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)
事件类型
TypedEventHandler<DevicePicker,IInspectable>