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 ContextRequested<UIElement, ContextRequestedEventArgs>
// 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_revoker_t, TypedEventHandler<UIElement, ContextRequestedEventArgs> const& handler) const;
public event TypedEventHandler ContextRequested<UIElement, ContextRequestedEventArgs>
Public Event TypedEventHandler ContextRequested(Of UIElement, ContextRequestedEventArgs)
<uiElement ContextRequested="eventhandler"/>

Remarks

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