DialDevicePicker.DialDevicePickerDismissed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示设备选取器已轻放,这意味着用户单击或触摸选取器 UI 以外的任何位置,因此将关闭选取器。
// Register
event_token DialDevicePickerDismissed(TypedEventHandler<DialDevicePicker, IInspectable const&> const& handler) const;
// Revoke with event_token
void DialDevicePickerDismissed(event_token const* cookie) const;
// Revoke with event_revoker
DialDevicePicker::DialDevicePickerDismissed_revoker DialDevicePickerDismissed(auto_revoke_t, TypedEventHandler<DialDevicePicker, IInspectable const&> const& handler) const;
public event TypedEventHandler<DialDevicePicker,object> DialDevicePickerDismissed;
function onDialDevicePickerDismissed(eventArgs) { /* Your code */ }
dialDevicePicker.addEventListener("dialdevicepickerdismissed", onDialDevicePickerDismissed);
dialDevicePicker.removeEventListener("dialdevicepickerdismissed", onDialDevicePickerDismissed);
- or -
dialDevicePicker.ondialdevicepickerdismissed = onDialDevicePickerDismissed;
Public Custom Event DialDevicePickerDismissed As TypedEventHandler(Of DialDevicePicker, Object)
事件类型
TypedEventHandler<DialDevicePicker,IInspectable>