ArcGIS Runtime SDK for WPF - Library Reference
LegendLayers Property
See Also 
ESRI.ArcGIS.Client.Printing Namespace > LegendOptions Class : LegendLayers Property

Gets or sets the layers whose legends will be added to the layout. If null, all visible layers will be present in the legend. To specify that no layers will be included in the legend, set LegendLayers to an empty array.

Syntax

Visual Basic (Declaration) 
Public Property LegendLayers As IEnumerable(Of LegendLayer)
C# 
public IEnumerable<LegendLayer> LegendLayers {get; set;}

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.