Gets or sets the visibility for the Layer in a map.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

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

Field Value

trueTruetruetrue (True in Visual Basic) if the Layer is visible; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

Layer visibility can be set at any time, however setting the property only has a noticeable effect when:

  • the Layer is contained by a map
  • the current scale of the map display falls within a layers specified scale range (between Layer.MinimumScale and Layer.MaximumScale).

See Also