ArcGIS Runtime SDK for WPF - Library Reference
ShowOnlyVisibleLayers Property
See Also 
ESRI.ArcGIS.Client.Toolkit Namespace > Legend Class : ShowOnlyVisibleLayers Property

Gets or sets a value indicating whether only the visible layers are participating to the legend.

Syntax

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

Property Value

true if only the visible layers are participating to the legend; otherwise, false.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.