Back to Devexpress

BingRouteDataProvider.RouteCalculated Event

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

latest3.0 KB
Original Source

BingRouteDataProvider.RouteCalculated Event

Occurs when a route has been calculated.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public event BingRouteCalculatedEventHandler RouteCalculated
vb
Public Event RouteCalculated As BingRouteCalculatedEventHandler

Event Data

The RouteCalculated event's data class is BingRouteCalculatedEventArgs. The following properties provide information specific to this event:

PropertyDescription
CalculationResultReturns a result of a route calculation.
CancelledGets a value indicating whether an asynchronous operation has been canceled. Inherited from AsyncCompletedEventArgs.
ErrorGets a value indicating which error occurred during an asynchronous operation. Inherited from AsyncCompletedEventArgs.
UserStateGets the unique identifier for the asynchronous task. Inherited from AsyncCompletedEventArgs.

The event data class exposes the following methods:

MethodDescription
RaiseExceptionIfNecessary()Raises a user-supplied exception if an asynchronous operation failed. Inherited from AsyncCompletedEventArgs.

See Also

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

BingRouteDataProvider Class

BingRouteDataProvider Members

DevExpress.Xpf.Map Namespace