Back to Devexpress

BingRouteCalculatedEventHandler Delegate

wpf-devexpress-dot-xpf-dot-map-efa4c2db.md

latest2.4 KB
Original Source

BingRouteCalculatedEventHandler Delegate

OBSOLETE

This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf

A method that will handle the BingRouteDataProvider.RouteCalculated event.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
[Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf")]
[PreferableMember("BingRouteCalculatedEventHandler", "", "")]
public delegate void BingRouteCalculatedEventHandler(
    object sender,
    BingRouteCalculatedEventArgs e
);
vb
<Obsolete("This class is obsolete. Microsoft deprecated Bing Maps on June 30th, 2025. For alternative providers, see https://www.devexpress.com/bing-maps-wpf")>
<PreferableMember("BingRouteCalculatedEventHandler", "", "")>
Public Delegate Sub BingRouteCalculatedEventHandler(
    sender As Object,
    e As BingRouteCalculatedEventArgs
)

Parameters

NameTypeDescription
senderObject

The event source.

| | e | BingRouteCalculatedEventArgs |

A BingRouteCalculatedEventArgs object that contains event data.

|

Remarks

When creating a BingRouteCalculatedEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps

DevExpress.Xpf.Map Namespace