Back to Devexpress

LayerBase.Visible Property

windowsforms-devexpress-dot-xtramap-dot-layerbase-e9069adf.md

latest2.3 KB
Original Source

LayerBase.Visible Property

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

Declaration

csharp
[DefaultValue(true)]
public bool Visible { get; set; }
vb
<DefaultValue(True)>
Public Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

csharp
void SetGeoMapGeoData() {
    imageLayer.Visible = false;

winforms-map-customize-coordinate-systems-of-a-map/VB/CoordinateSystems/Form1.vb#L32

vb
Private Sub SetGeoMapGeoData()
    imageLayer.Visible = False
    Dim baseUri As Uri = New Uri(Reflection.Assembly.GetEntryAssembly().Location)

See Also

LayerBase Class

LayerBase Members

DevExpress.XtraMap Namespace