I have a map and I attached a Legend object to it by using the binding element. <esri:Legend Grid.Column="1" Name="legend1" Map="{Binding ElementName=map1}" LayerItemsMode="Tree" ShowOnlyVisibleLayers="False" FontSize="11">That is all fine however there is a specific layer that we add at run time and we do not want that layer showing in the Legend. Is there a way to control what layers show at any given point?Thanks!