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

ScalePanelOptions.ShowMilesScale Property

Gets or sets a value indicating whether the Miles Scale should be displayed.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

#Declaration

public bool ShowMilesScale { get; set; }

#Property Value

Type Description
Boolean

true to show the Miles Scale; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ShowMilesScale
MapControl
.ActualScalePanelOptions .ShowMilesScale
MapControl
.ScalePanelOptions .ShowMilesScale

#Remarks

The following table shows this property in action.

ShowMilesScale=True ShowMilesScale=False
ShowMileScale_True ShowMileScale_False

To learn more on the map’s scale panel types, see the Scale Panel topic.

See Also