ToggleLabelsCommand.GetStatus Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Retrieves the status of the labels button for the specified map.

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



Public Overrides Function GetStatus ( _
    map As MapBase _
) As NavigationBarCommandStatus
public override NavigationBarCommandStatus GetStatus (
    MapBase map
virtual NavigationBarCommandStatus GetStatus (
    MapBase^ map
) override
public NavigationBarCommandStatus GetStatus (
    MapBase map
public override function GetStatus (
    map : MapBase
) : NavigationBarCommandStatus


  • map
    The map on which to turn map labels on or off.

Return Value

Returns NavigationBarCommandStatus.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also


ToggleLabelsCommand Class
ToggleLabelsCommand Members
Microsoft.Maps.MapControl.Navigation Namespace