Back to Devexpress

Measurements.ShowToolbar Property

windowsforms-devexpress-dot-xtramap-dot-measurements.md

latest1.6 KB
Original Source

Measurements.ShowToolbar Property

Specifies whether the Measurements toolbar is displayed.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(false)]
public bool ShowToolbar { get; set; }
vb
<DefaultValue(False)>
Public Property ShowToolbar As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the Measurements toolbar is visible; otherwise, false.

|

Remarks

Use the code below to show the Measurements toolbar:

csharp
mapControl1.Measurements.ShowToolbar = true;
vb
mapControl1.Measurements.ShowToolbar = True

To access toolbar settings, use the Measurements.ToolbarOptions property.

See Also

Measurements Class

Measurements Members

DevExpress.XtraMap Namespace