Share via


MapLayer.Visible Property

Definition

Gets or sets a value that indicates whether the MapLayer is visible on the MapControl.

public:
 property bool Visible { bool get(); void set(bool value); };
bool Visible();

void Visible(bool value);
public bool Visible { get; set; }
var boolean = mapLayer.visible;
mapLayer.visible = boolean;
Public Property Visible As Boolean

Property Value

Boolean

bool

true if the MapLayer is visible on the MapControl; otherwise, false.

Applies to