Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BingAvoidRoads Enum

Lists limitations in the use of toll and highway roads when route planning.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

[Flags]
public enum BingAvoidRoads

#Members

Name Description
None

All road types can be used to build a route.

Highways

Highways are not used to build a route.

Tolls

Toll roads are not used to build a route.

MinimizeHighways

The number of highways is minimized in a route.

MinimizeTolls

The number of toll roads is minimized in a route.

Ferry

Do not use ferries to build a route.

BorderCrossing

Do not cross country borders in a route.

#Related API Members

The following properties accept/return BingAvoidRoads values:

#Remarks

The values listed by this enumeration can be used to set the BingRouteOptions.AvoidRoads property.

See Also