| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property IsVisible As Boolean | |
| C# | |
|---|---|
public bool IsVisible {get;} | |
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).
Property Value
true if the layer is currently visible; otherwise, false.Target Platforms:Windows Phone 7