ArcGIS API for Silverlight - Library Reference
HideChildren Property
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Toolkit.Primitives Namespace > LayerItemViewModel Class : HideChildren Property

Gets or sets a value indicating whether the children of this layer item must be hidden in the legend.

Syntax

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

Remarks

When a layer item is hidden, it's no more returned in the ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LayerItemsSource enumeration of its parent items, but it's still returned in the ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LayerItems enumeration of its parent item.

Property Value

true if the children (layerItem and legendItem) must not be displayed in the legend; otherwise, false.

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.