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>