ContentDialog.SecondaryButtonClick Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs after the secondary button has been tapped.
// Register
event_token SecondaryButtonClick(TypedEventHandler<ContentDialog, ContentDialogButtonClickEventArgs const&> const& handler) const;
// Revoke with event_token
void SecondaryButtonClick(event_token const* cookie) const;
// Revoke with event_revoker
ContentDialog::SecondaryButtonClick_revoker SecondaryButtonClick(auto_revoke_t, TypedEventHandler<ContentDialog, ContentDialogButtonClickEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentDialog,ContentDialogButtonClickEventArgs> SecondaryButtonClick;
function onSecondaryButtonClick(eventArgs) { /* Your code */ }
contentDialog.addEventListener("secondarybuttonclick", onSecondaryButtonClick);
contentDialog.removeEventListener("secondarybuttonclick", onSecondaryButtonClick);
- or -
contentDialog.onsecondarybuttonclick = onSecondaryButtonClick;
Public Custom Event SecondaryButtonClick As TypedEventHandler(Of ContentDialog, ContentDialogButtonClickEventArgs)
<ContentDialog SecondaryButtonClick="eventhandler"/>
Event Type
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro