ArcGIS API for WPF - Library Reference
IsLogoVisible Property
See Also  Example Send comments on this topic
ESRI.ArcGIS.Client Namespace > Map Class : IsLogoVisible Property

Gets or sets the whether the ESRI logo is displayed on the map. The default is True, meaning the logo is visible.


Visual Basic (Declaration) 
Public Property IsLogoVisible As Boolean
public bool IsLogoVisible {get; set;}


XAMLCopy Code
<Grid x:Name="LayoutRoot" Background="White">
  Add an ArcGISTiledMapsServiceLayer to the Map.
  Set the IsLogoVisible = False, meaning the logo will not display.
  <esri:Map Name="Map1" Height="300" Width="300" HorizontalAlignment="Left" VerticalAlignment="Top"
    <esri:ArcGISTiledMapServiceLayer Url=""/>
  Display the Map's IsLogoVisible Property in a TextBlock.
  <TextBlock Name="TextBlock_IsLogoVisible" Height="23" HorizontalAlignment="Left" Margin="306,12,0,0"  
             Text="{Binding ElementName=Map1, Path=IsLogoVisible}" VerticalAlignment="Top" />
C#Copy Code
// A Map Control (named myMap) was previously added in to the project either in XAML or code-behind.
public void SetLogoVisibleFalse(ESRI.ArcGIS.Client.Map myMap)
  // Clear out any existing layers.
  // Add an ArcGISTiledMapsServiceLayer to the Map.
  ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer myArcGISTiledMapServiceLayer = new ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer();
  myArcGISTiledMapServiceLayer.Url = "";
  // Hide the Map Logo.
  myMap.IsLogoVisible = false;
public void GetIsLogoVisible(ESRI.ArcGIS.Client.Map myMap)
  // IsLogoVisible (Read/Write)
  bool myBoolean = myMap.IsLogoVisible;
  string myString = null;
  if (myBoolean == true)
    myString = "The Map logo is visible.";
    myString = "The Map logo is invisible.";
VB.NETCopy Code
' A Map Control (named myMap) was previously added in to the project either in XAML or code-behind.
Public Sub SetLogoVisibleFalse(ByVal myMap As ESRI.ArcGIS.Client.Map)
  ' Clear out any existing layers.
  ' Add an ArcGISTiledMapsServiceLayer to the Map.
  Dim myArcGISTiledMapServiceLayer As New ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer
  myArcGISTiledMapServiceLayer.Url = ""
  ' Hide the Map Logo.
  myMap.IsLogoVisible = False
End Sub
Public Sub GetIsLogoVisible(ByVal myMap As ESRI.ArcGIS.Client.Map)
  ' IsLogoVisible (Read/Write)
  Dim myBoolean As Boolean = myMap.IsLogoVisible
  Dim myString As String = Nothing
  If myBoolean = True Then
    myString = "The Map logo is visible."
    myString = "The Map logo is invisible."
  End If
End Sub


If the Map contains Microsoft Bing layers, a Bing Maps logo will also be displayed. The IsLogoVisible also controls the visibility of the Bing logo, just like the ESRI logo. For more information about developing with Bing maps see the Bing Maps SOAP Services for more information.

The following screen shot shows two Map controls, one with the IsLogoVisible = True (the default) and the other with the IsLogoVisible = False (no logo being shown).

Comparison of two Map Controls showing the IsLogoVisble being true and false.


Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.