MapControl.MapElementClick MapControl.MapElementClick MapControl.MapElementClick MapControl.MapElementClick Event

Definition

Occurs when the user taps or clicks a MapElement on the MapControl.

public : event TypedEventHandler<MapControl, MapElementClickEventArgs> MapElementClick
// Register
event_token MapElementClick(TypedEventHandler<MapControl, MapElementClickEventArgs> const& handler) const;

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

// Revoke with event_revoker
MapElementClick_revoker MapElementClick(auto_revoke_t, TypedEventHandler<MapControl, MapElementClickEventArgs> const& handler) const;
public event TypedEventHandler<MapControl, MapElementClickEventArgs> MapElementClick
Public Event MapElementClick As TypedEventHandler (Of MapControl, MapElementClickEventArgs)

Remarks

Touch, mouse, and pen/stylus interactions are received, processed, and managed as pointers. Any of these devices and their interactions can produce a MapElementClick event. An instance of MapElementClickEventArgs provides data for this event.