Back to Devexpress

MapOverlayItemBase.Visible Property

windowsforms-devexpress-dot-xtramap-dot-mapoverlayitembase-793b25ff.md

latest2.6 KB
Original Source

MapOverlayItemBase.Visible Property

Gets or sets the value indicating whether or not a overlay item is 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 if a map overlay is visible; 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-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/WaypointMap/WaypointMapItemControlProvider.cs#L87

csharp
validationInfoItem.Text = "Waypoint Map Item does not support Drill-Down";
validationInfoItem.Visible = true;
return false;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/WaypointMap/WaypointMapItemControlProvider.vb#L104

vb
validationInfoItem.Text = "Waypoint Map Item does not support Drill-Down"
validationInfoItem.Visible = True
Return False

See Also

MapOverlayItemBase Class

MapOverlayItemBase Members

DevExpress.XtraMap Namespace