PickerFlyout.Confirmed 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于使用者點選確認按鈕以確認選取專案時。
// Register
event_token Confirmed(TypedEventHandler<PickerFlyout, PickerConfirmedEventArgs const&> const& handler) const;
// Revoke with event_token
void Confirmed(event_token const* cookie) const;
// Revoke with event_revoker
PickerFlyout::Confirmed_revoker Confirmed(auto_revoke_t, TypedEventHandler<PickerFlyout, PickerConfirmedEventArgs const&> const& handler) const;
public event TypedEventHandler<PickerFlyout,PickerConfirmedEventArgs> Confirmed;
function onConfirmed(eventArgs) { /* Your code */ }
pickerFlyout.addEventListener("confirmed", onConfirmed);
pickerFlyout.removeEventListener("confirmed", onConfirmed);
- or -
pickerFlyout.onconfirmed = onConfirmed;
Public Custom Event Confirmed As TypedEventHandler(Of PickerFlyout, PickerConfirmedEventArgs)