Udostępnij za pośrednictwem


MapControlDataHelper.TransitFeaturePointerExited Event

Definition

Indicates the pointer exited the transit feature.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about this API and the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

// Register
event_token TransitFeaturePointerExited(TypedEventHandler<MapControl, MapControlTransitFeaturePointerExitedEventArgs const&> const& handler) const;

// Revoke with event_token
void TransitFeaturePointerExited(event_token const* cookie) const;

// Revoke with event_revoker
MapControlDataHelper::TransitFeaturePointerExited_revoker TransitFeaturePointerExited(auto_revoke_t, TypedEventHandler<MapControl, MapControlTransitFeaturePointerExitedEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlTransitFeaturePointerExitedEventArgs> TransitFeaturePointerExited;
function onTransitFeaturePointerExited(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("transitfeaturepointerexited", onTransitFeaturePointerExited);
mapControlDataHelper.removeEventListener("transitfeaturepointerexited", onTransitFeaturePointerExited);
- or -
mapControlDataHelper.ontransitfeaturepointerexited = onTransitFeaturePointerExited;
Public Custom Event TransitFeaturePointerExited As TypedEventHandler(Of MapControl, MapControlTransitFeaturePointerExitedEventArgs) 

Event Type

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.14393.0)
Windows Mobile Extension SDK (introduced in 10.0.14393.0)
Windows Team Extension SDK (introduced in 10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v3.0)

Applies to