ArcGIS API for WPF - Library Reference
Legend.Mode Enumeration
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit Namespace : Legend.Mode Enumeration

LayerItems mode enumeration defines the structure of the legend : Flat or Tree.

Syntax

Visual Basic (Declaration) 
Public Enum Legend.Mode 
   Inherits System.Enum
C# 
public enum Legend.Mode : System.Enum 

Members

MemberDescription
FlatFlat structure : LayerItemsSource returns the LayerItems leaves (i.e not the group layers nor the map layers with sub layers) and the LegendItems. This is the default value.
Tree Tree structure : LayerItemsSource returns a hierarchy of legend items taking care of the map layers and of the group layers.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ESRI.ArcGIS.Client.Toolkit.Legend.Mode

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.