AerialMode.Labels Property
Gets or sets whether to show map labels.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public bool Labels { get; set; }
public:
property bool Labels {
bool get();
void set(bool value);
}
member Labels : bool with get, set
Public Property Labels As Boolean
Property Value
Type: System.Boolean
Returns Boolean.
Examples
<m:Map Mode="AerialWithLabels" CredentialsProvider="InsertYourBingMapsKey" Grid.Column="0" Grid.Row="1" />
//Set the map mode to Aerial with labels
myMap.Mode = new AerialMode(true);
'Set the map mode to Aerial with labels
myMap.Mode = New AerialMode(True)
See Also
AerialMode Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top