ArcGIS Runtime SDK for WPF - Library Reference
HideChildren Property
See Also 
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 LayerItemsSource enumeration of its parent items, but it's still returned in the 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, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.