Share via


MapCore.ScaleVisibility Property

 

Gets or sets the visibility of all Scale objects on the map.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

Syntax

public Visibility ScaleVisibility { get; set; }
public:
property Visibility ScaleVisibility {
    Visibility get();
    void set(Visibility value);
}
member ScaleVisibility : Visibility with get, set
Public Property ScaleVisibility As Visibility

Property Value

Type: System.Windows.Visibility

Returns Visibility.

Remarks

By default map has one Scale. However, users can create multiple Scale objects. When you set this property, it will show or hide all of them.

See Also

MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top