UIElement.ContextRequested UIElement.ContextRequested UIElement.ContextRequested UIElement.ContextRequested Event

Definition

Occurs when the user has completed a context input gesture, such as a right-click.

public : event TypedEventHandler<UIElement, ContextRequestedEventArgs> ContextRequested
// Register
event_token ContextRequested(TypedEventHandler<UIElement, ContextRequestedEventArgs> const& handler) const;

// Revoke with event_token
void ContextRequested(event_token const& cookie) const;

// Revoke with event_revoker
ContextRequested_revoker ContextRequested(auto_revoke_t, TypedEventHandler<UIElement, ContextRequestedEventArgs> const& handler) const;
public event TypedEventHandler<UIElement, ContextRequestedEventArgs> ContextRequested
Public Event ContextRequested As TypedEventHandler (Of UIElement, ContextRequestedEventArgs)
<uiElement ContextRequested="eventhandler"/>

Remarks

If the ContextFlyout property is null, this event is marked as handled.