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

Whether the layer is currently visible (taking care of the ascendants visibility and of the scale range).

Syntax

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

Property Value

true if the layer is currently visible; otherwise, false.

Remarks

The IsVisible property is also taking care of the layer intialization failure (i.e is false whether a layer failed to initialize) and of the tiled layers spatial reference mismatchs (i.e. is false whether the spatial reference of a tiled layer is not the same as the map spatial reference).

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.