windowsforms-devexpress-dot-xtramap-dot-layerbase-e9069adf.md
Gets or sets a value specifying whether or not a layer should be visible.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
[DefaultValue(true)]
public bool Visible { get; set; }
<DefaultValue(True)>
Public Property Visible As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display a layer; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visible property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-map-customize-coordinate-systems-of-a-map/CS/CoordinateSystems/Form1.cs#L26
void SetGeoMapGeoData() {
imageLayer.Visible = false;
winforms-map-customize-coordinate-systems-of-a-map/VB/CoordinateSystems/Form1.vb#L32
Private Sub SetGeoMapGeoData()
imageLayer.Visible = False
Dim baseUri As Uri = New Uri(Reflection.Assembly.GetEntryAssembly().Location)
See Also