Dela via


MapControlDataHelper.TransitFeaturePointerEntered Event

Definition

Indicates the pointer entered 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 TransitFeaturePointerEntered(TypedEventHandler<MapControl, MapControlTransitFeaturePointerEnteredEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
MapControlDataHelper::TransitFeaturePointerEntered_revoker TransitFeaturePointerEntered(auto_revoke_t, TypedEventHandler<MapControl, MapControlTransitFeaturePointerEnteredEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlTransitFeaturePointerEnteredEventArgs> TransitFeaturePointerEntered;
function onTransitFeaturePointerEntered(eventArgs) { /* Your code */ }
mapControlDataHelper.addEventListener("transitfeaturepointerentered", onTransitFeaturePointerEntered);
mapControlDataHelper.removeEventListener("transitfeaturepointerentered", onTransitFeaturePointerEntered);
- or -
mapControlDataHelper.ontransitfeaturepointerentered = onTransitFeaturePointerEntered;
Public Custom Event TransitFeaturePointerEntered As TypedEventHandler(Of MapControl, MapControlTransitFeaturePointerEnteredEventArgs) 

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